Normalizing counts with DESeq2
We have created the DESeq2 object and now wish to perform quality control on our samples. Therefore, we need to generate the normalized counts (normalized for library size, which is the total number of gene counts per sample, while accounting for library composition). To obtain the normalized counts, use the DESeq2 object and generate the normalized counts matrix.
Este exercício faz parte do curso
RNA-Seq with Bioconductor in R
Instruções do exercício
Estimate the size factors for the smoc2 count data using the
estimateSizeFactors()
function and save back to thedds_smoc2
objectExtract the normalized count values from
dds_smoc2
and save assmoc2_normalized_counts
using thecounts()
function.
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Determine the size factors to use for normalization
dds_smoc2 <- ___(___)
# Extract the normalized counts
smoc2_normalized_counts <- ___(___, ___)