differentialDeviations {chromVAR} | R Documentation

## differentialDeviations

### Description

Function to see whether deviations differ between groups

### Usage

    differentialDeviations(object, groups, alternative = c("two.sided", "less",
      "greater"), parametric = TRUE)

### Arguments

`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

### Value

data.frame with p value and adjusted p value

### Author(s)

Alicia Schep

### Examples

    # Load very small example results from computeDeviations
    data(mini_dev, package = "chromVAR")
    difdev <- differentialDeviations(mini_dev, "Cell_Type")

[Package chromVAR version 1.2.0 Index]