Function to determine whether groups differ in variability

differentialVariability(object, groups, parametric = TRUE)

Arguments

object

chromVARDeviations object

groups

either vector of groups or name of column in colData of object with grouop information

parametric

use parametric test. alternatively will use kruskal wallace

Value

data.frame with p value and adjusted p value

Examples

# NOT RUN {
# Load very small example results from computeDeviations
data(mini_dev, package = "chromVAR")
difvar <- differentialVariability(mini_dev, "Cell_Type")
# }