regcounts: regcounts

Description Usage Arguments Value Examples

Description

Convenience method to access regressed counts from an EMSet.

Usage

1
2
3
4
5
6
7
8
9
regcounts(x, ...)

## S4 method for signature 'EMSet'
regcounts(x)

regcounts(x, ...) <- value

## S4 replacement method for signature 'EMSet'
regcounts(x) <- value

Arguments

x

EMSet

...

...

value

A matrix with confounding factors regressed out

Value

Regressed count matrix

value stored in regcounts slot of EMSet

Examples

1
2
3
4
5
6
7
8
# Load em_set
em_set <- ascend::analyzed_set

# Regress out CDK4
reg_set <- regressConfoundingFactors(em_set, candidate.genes = "CDK4")

# Access regressed matrix
reg_counts <- regcounts(reg_set)

IMB-Computational-Genomics-Lab/ascend documentation built on Aug. 29, 2019, 4:10 a.m.