chDir {slinky} | R Documentation

## chDir

### Description

Convenience wrapper to calculate Characteristic Direction Unity Vector based on two datasets. There are a few steps involved in getting the data formatted for the 'chdirAnalysis' function. This function takes care of that for you. Also, the chdirSig function is not exported from the package GeoDE so we copy it here to be able to circumvent plotting (which may not be desired for the high throughput applications targeted by this package).

### Usage

    chDir(x, treated, control)

### Arguments

`x` | A Slinky object.
`treated` | Expression data for treated samples, as 'data.frame', 'matrix', or 'SummarizedExperiment'
`control` | Expression data for control samples, as 'data.frame', 'matrix', or 'SummarizedExperiment'

### Value

Column matrix of characteristic direction scores for each gene.

[Package slinky version 1.10.0 Index]