RNA-Seq with Bioconductor in R
Mary Piper
Instructor
vsd_wt <- vst(dds_wt, blind=TRUE)
# Extract the vst matrix from the object
vsd_mat_wt <- assay(vsd_wt)
# Compute pairwise correlation values
vsd_cor_wt <- cor(vsd_mat_wt)
View(vsd_cor_wt)
# Load pheatmap libraries
library(pheatmap)
# Plot heatmap
pheatmap(vsd_cor_wt, annotation = select(wt_metadata, condition))
RNA-Seq with Bioconductor in R