Description Usage Arguments Value Author(s) Examples
The assayData slot of an SCESet object holds the expression data matrices. This functions makes it convenient to add new transformations of the expression data to the assayData slot.
1 2 3 4 5 6 7 |
object |
a |
name |
character string giving the name of the slot to which the data matrix is to be assigned (can already exist or not). |
value |
a numeric or integer matrix matching the dimensions of the other
elements of the |
NULL, but adds expression data to the SCESet object
Davis McCarthy
1 2 3 4 5 6 7 8 9 | data("sc_example_counts")
data("sc_example_cell_info")
example_sceset <- newSCESet(countData = sc_example_counts)
set_exprs(example_sceset, "scaled_counts") <- t(t(counts(example_sceset)) /
colSums(counts(example_sceset)))
get_exprs(example_sceset, "scaled_counts")[1:6, 1:6]
## get rid of scaled counts
set_exprs(example_sceset, "scaled_counts") <- NULL
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.