View source: R/Normalization.R
normalize_SE | R Documentation |
This function allows you to add normalized count matrix to the SE object
normalize_SE(se, method, log_bool, assay_to_normalize, output_assay_name)
se |
SummarizedExperiment Object |
method |
Normalization Method, either 'CPM' or 'DESeq' or 'none' for log only |
log_bool |
True or False; True to log normalize the data set after normalization method |
assay_to_normalize |
Which SE assay to do normalization on |
output_assay_name |
name for the resulting normalized assay |
the original SE object with normalized assay appended
library(scran)
se <- mockSCE()
se_CPM_normalized <- BatchQC::normalize_SE(se, method = "CPM",
log_bool = FALSE,
assay_to_normalize = "counts",
output_assay_name =
"CPM_normalized_counts")
se_DESeq_normalized <- BatchQC::normalize_SE(se, method = "DESeq",
log_bool = FALSE,
assay_to_normalize = "counts",
output_assay_name =
"DESeq_normalized_counts")
se_CPM_normalized
se_DESeq_normalized
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.