| exposure_differential_analysis {musicatk} | R Documentation |
exposure_differential_analysis is used to run
differential analysis on the signature exposures of annotated samples within
the musica_result object.
exposure_differential_analysis(
musica_result,
annotation,
method = c("wilcox", "kruskal", "glm.nb"),
group1 = NULL,
group2 = NULL,
...
)
musica_result |
A |
annotation |
Column in the sample_annotations table of the
|
method |
Any method in |
group1 |
character vector used in the Wilcox test. Elements in
|
group2 |
character vector used in the Wilcox test. Elements in
|
... |
Additional arguments to be passed to the chosen method |
A matrix containing statistics summarizing the analysis dependent on the chosen method
data("res_annot")
exposure_differential_analysis(res_annot, "Tumor_Subtypes", method="wilcox")