开始使用免费开始使用

RNA-Seq DE 工作流程总结

注意: 加载本练习可能需要稍长时间。

让我们使用包含野生型和 smoc2 过表达样本的完整数据集,跑一遍 DESeq2 工作流程。我们已为您加载 DESeq2dplyr 库,并读入了元数据文件 all_metadata 和原始计数文件 all_rawcounts

full metadata

本练习是课程的一部分

使用 R 中的 Bioconductor 进行 RNA-Seq 分析

查看课程

练习说明

  • 使用 rownames()colnames()all()%in% 运算符,检查 all_rawcountsall_metadata 中的样本顺序是否一致。
  • 使用合适的 design 创建 DESeq2 对象,在控制 genotype 的同时,检验 condition 的效应。
  • 使用合适的 design 创建 DESeq2 对象,分别控制 genotypecondition,但检验 genotype:condition

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Check that all of the samples are in the same order in the metadata and count data
all(___(___) %in% ___(___))

# DESeq object to test for the effect of fibrosis regardless of genotype
dds_all <- DESeqDataSetFromMatrix(countData = ___,
                        colData = ___,
                        design = ___)

# DESeq object to test for the effect of genotype on the effect of fibrosis                        
dds_complex <- DESeqDataSetFromMatrix(countData = ___,
                                ___,
                                ___)
编辑并运行代码