View source: R/contribution_interpretation.R
run.trait.association | R Documentation |
Computes test statistics for all possible group assignments of samples defined in medecom.set
and rnb.set
and stores
heatmaps of p-values on the given location for all CG Subsets, Ks and lambdas present in medecom.set
run.trait.association(
medecom.set,
pheno.data,
test.fun = t.test,
plot.path = getwd(),
figure.format = "pdf"
)
medecom.set |
An object of type |
pheno.data |
An object of type |
test.fun |
Test statistic used to compute p-values of differences between LMC contributions in pairwise sample comparisons.
Defaults to |
plot.path |
Path to store the p-value heatmaps. |
figure.format |
Character describing the format in which plots should be stored on disk. Either |
This function creates a new folder names pdfs
at the location given by plot.path
and stores a heatmap for
all possible Ks and lambdas defined in medecom.set
. The p-values are produced by comparing the LMC contributions
in all sample comparisons defined by rnb.sample.groups
on rnb.set
. The employed test statistic for
pariwise comparison can be specified by test.fun
, for groups defining more than one group kruskal.test
is employed. P-values lower than 0.01 are added to the heatmap.
Michael Scherer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.