bbplot1d | R Documentation |
The function bbplot1d()
select important pathways with their P-value less than a threshold and returns ranked bubble plot showing important pathways names and their corresponding -log10(Pvalue).
bbplot1d(res, p_thres = 0.05, sig_metab_thres = 1, low.color = "MidnightBlue", high.color = "LightSkyBlue")
res |
The result matrix obtained from metapone with columns: "p_value", "n_significant metabolites", "n_mapped_metabolites", "n_metabolites", "significant metabolites", "mapped_metabolites", "fdr". |
p_thres |
The threshold of P-value for pathways to be shown in the bubble plot. The default threshold is 0.05. |
sig_metab_thres |
The threshold of fractional matched significant metabolite count for pathways to be shown in the bubble plot. The default is 1. |
low.color |
The GRB color of the lowest ldfr value to be shown in the bubble plot. |
high.color |
The GRB color of the highest ldfr value to be shown in the bubble plot. |
Leqi Tian (leqitian@link.cuhk.edu.cn)
metapone
data(hmdbCompMZ.metapone) data(pa) data(pos) data(neg) dat <- list(pos, neg) type <- list("pos", "neg") r<-metapone(dat, type, pa, hmdbCompMZ=hmdbCompMZ.metapone, p.threshold=0.05, n.permu=100,fractional.count.power=0.5, max.match.count=10) bbplot1d(ptable(r)) # p_thres = 0.05
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.