View source: R/core_functions.R
compare_met | R Documentation |
Compare a single set each of CMP scores and metabolite concentrations
compare_met(
met_met,
met_cmp,
met_all,
cmp_all,
posneg = "pos",
cor_method = "spearman",
nperm = 15000
)
met_met |
metabolite to use from metabolite concentration data |
met_cmp |
metabolite to use from CMP score data |
met_all |
matrix of metabolite concentrations |
cmp_all |
matrix of CMP scores |
posneg |
Whether to test for positive or negative concentration |
cor_method |
spearman or pearson |
nperm |
number of permutations for Mantel test |
p-value from Mantel test
compare_met("C00001", "C00002", mets, cmp_mat, "pos")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.