Plot the top cell type associations for a given trait.
Source:R/plot_top_associations.R
plot_top_associations.Rd
Plot the top cell type associations for a given trait.
Arguments
- trait_res
A data.frame or data.table object of cell type associations detected by seismic. It is expected that this data object contains a minimum of three columns: cell_type, p_value, and FDR.
- fdr
A Boolean value determining if FDR should be plotted. If false p-values are used for the plot. Defaults to printing FDR.
- limit
A positive integer limiting the number of top cell types to be shown. Default is 10 cell types.