Function to see whether deviations differ between groups
differentialDeviations(object, groups, alternative = c("two.sided", "less", "greater"), parametric = TRUE)
object | chromVARDeviations object |
---|---|
groups | either vector of groups or name of column in colData of object with group information |
alternative | only used if there are two groups -- two.sided or one sided test |
parametric | use parametric test. alternatively will use kruskal wallace |
data.frame with p value and adjusted p value
# NOT RUN { # Load very small example results from computeDeviations data(mini_dev, package = "chromVAR") difdev <- differentialDeviations(mini_dev, "Cell_Type") # }