DESeq2 結果

使用 R 與 Bioconductor 進行 RNA-Seq

Mary Piper

Bioinformatics Consultant and Trainer

DESeq2 結果表

mcols(wt_res)

DESeq2 結果欄位

使用 R 與 Bioconductor 進行 RNA-Seq
head(wt_res, n=10)
log2 fold change (MAP): condition fibrosis vs normal 
Wald test p-value: condition fibrosis vs normal 
data frame with 6 rows and 6 columns
                           baseMean   log2FoldChange             lfcSE             stat
                          <numeric>        <numeric>         <numeric>        <numeric>
ENSMUSG00000102693                0               NA                NA               NA
ENSMUSG00000064842                0               NA                NA               NA
ENSMUSG00000051951 19.5084656230804 3.55089043143673 0.648400500074659 4.66871842838828
ENSMUSG00000102851                0               NA                NA               NA
ENSMUSG00000103377                0               NA                NA               NA
ENSMUSG00000104017                0               NA                NA               NA
                                 pvalue                 padj
                              <numeric>            <numeric>
ENSMUSG00000102693                   NA                   NA
ENSMUSG00000064842                   NA                   NA
ENSMUSG00000051951 3.03084428526558e-06 1.93776447202312e-05
ENSMUSG00000102851                   NA                   NA
ENSMUSG00000103377                   NA                   NA
ENSMUSG00000104017                   NA                   NA
使用 R 與 Bioconductor 進行 RNA-Seq

顯著性差異表現基因-摘要

summary(wt_res)

deseq2 摘要

使用 R 與 Bioconductor 進行 RNA-Seq

顯著性差異表現基因-倍數變化門檻

wt_res <- results(dds_wt, 
                  contrast = c("condition", "fibrosis", "normal"), 
                  alpha = 0.05, 
                  lfcThreshold = 0.32)
wt_res <- lfcShrink(dds_wt, 
                    contrast=c("condition", "fibrosis", "normal"), 
                    res=wt_res)
使用 R 與 Bioconductor 進行 RNA-Seq

顯著性差異表現基因-摘要

summary(wt_res)

deseq2 摘要(lfc 門檻)

使用 R 與 Bioconductor 進行 RNA-Seq

結果-註解

library(annotables)

grcm38

annotables grcm38

使用 R 與 Bioconductor 進行 RNA-Seq

結果-擷取

wt_res_all <- data.frame(wt_res) %>% 
              rownames_to_column(var = "ensgene") %>%
              left_join(x = wt_res_all, 
                        y = grcm38[, c("ensgene", "symbol", "description")], 
                        by = "ensgene")                    
View(wt_res_all)

合併後的所有結果

使用 R 與 Bioconductor 進行 RNA-Seq

顯著性差異表現基因-排序

wt_res_sig <- subset(wt_res_all, padj < 0.05)

wt_res_sig <- wt_res_sig %>% arrange(padj)
View(wt_res_all)

合併後的所有結果

使用 R 與 Bioconductor 進行 RNA-Seq

顯著基因

使用 R 與 Bioconductor 進行 RNA-Seq

一起來練習吧!

使用 R 與 Bioconductor 進行 RNA-Seq

Preparing Video For Download...