Description Usage Arguments Details Value Author(s) Examples
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## S4 method for signature 'SCESet'
sizeFactors(object,type)
## S4 replacement method for signature 'SCESet,numeric'
sizeFactors(object,type)<-value
## S4 replacement method for signature 'SCESet,NULL'
sizeFactors(object,type)<-value
## S4 method for signature 'SCESet'
sizeFactors(object, type = NULL)
## S4 replacement method for signature 'SCESet,numeric'
sizeFactors(object, type = NULL, ...) <- value
## S4 replacement method for signature 'SCESet,'NULL''
sizeFactors(object, type = NULL, ...) <- value
|
object |
a |
type |
optional character argument providing the type or name of the size factors to be accessed or assigned. |
... |
further arguments passed to the function |
value |
a vector of class |
The size factors can alternatively be directly accessed from the
SCESet
object with object$size_factor_type
(where "type" in the
preceding is replaced by the actual type name).
A numeric vector of size factors.
Davis McCarthy and Aaron Lun
1 2 3 4 5 6 7 8 9 10 | data("sc_example_counts")
data("sc_example_cell_info")
example_sceset <- newSCESet(countData = sc_example_counts)
sizeFactors(example_sceset)
sizeFactors(example_sceset, NULL) <- 2 ^ rnorm(ncol(example_sceset))
example_sceset <- calculateQCMetrics(example_sceset,
feature_controls = list(set1 = 1:40))
sizeFactors(example_sceset, "set1") <- 2 ^ rnorm(ncol(example_sceset))
sizeFactors(example_sceset)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.