第一步,下载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))
第二步,注释表达量
网友评论