plot_nidps {neuroimaGene} | R Documentation |
Generate overview plot of the neuroimagene object according to nidps
plot_nidps(
ng_obj,
maxNidps = 30,
title = NA,
shortnames = TRUE,
mag = TRUE,
verbose = FALSE
)
ng_obj |
NeuroimaGene Object |
maxNidps |
maximum number of NIDPs to visualize. default=30 |
title |
optional title tag for the plot |
shortnames |
optional boolean tag for simplified names. Default to TRUE |
mag |
boolean to present effect sizes by magnitude rather than as a vector. Default to TRUE |
verbose |
print runtime messages to R console. Default to FALSE |
a ggplot class object detailing mean effect size magnitude per NIDP, colored by brain region
gene_list <- c('TRIM35', 'PROSER3', 'EXOSC6', 'PICK1', 'UPK1A', 'ESPNL', 'ZIC4')
ng <- neuroimaGene(gene_list, atlas = NA, mtc = 'BH', vignette = TRUE)
plot_nidps(ng)