Learn R Programming

scater (version 1.0.4)

sizeFactors: Accessors size factors of an SCESet object.

Description

For normalisation, library-specific size factors can be defined. Raw values can be divided by the appropriate size factors to obtain normalised counts, TPM, etc.

Usage

"sizeFactors"(object)
"sizeFactors"(object)<-value "sizeFactors"(object)<-value
"sizeFactors"(object)
"sizeFactors"(object) <- value
"sizeFactors"(object) <- value

Arguments

object
a SCESet object.
value
a vector of class "numeric" or NULL

Examples

Run this code
data("sc_example_counts")
data("sc_example_cell_info")
example_sceset <- newSCESet(countData = sc_example_counts)
sizeFactors(example_sceset)
sizeFactors(example_sceset) <- 2 ^ rnorm(ncol(example_sceset))
sizeFactors(example_sceset)

Run the code above in your browser using DataLab