简书付费文章TCGA

单基因生信分析流程(6)单基因相似性分析

2020-08-11  本文已影响0人  柳叶刀与小鼠标
第一步,下载COAD数据
##########################################################################################
## step1 load package and change Working Directory
###########################################################################################

library(TCGAbiolinks)
library(dplyr)
library(tidyr)
library(tibble)
library(edgeR)
library(limma)
rm(list=ls())
setwd('D:\\SCIwork\\F20ELFN1\\COAD')


##########################################################################################
## step2 download the expresssion data of lncRNA and mRNA
###########################################################################################


query <- GDCquery(project = "TCGA-COAD", 
                  data.category = "Transcriptome Profiling", 
                  data.type = "Gene Expression Quantification", 
                  workflow.type = "HTSeq - Counts")



GDCdownload(query, method = "api", files.per.chunk = 50)

library(SummarizedExperiment)

expdat <- GDCprepare(query = query,   save = TRUE, save.filename = "exp.rda")


count_matrix = as.data.frame(assay(expdat))


第二步,注释表达量
上一篇下一篇

猜你喜欢

热点阅读