代码如下:
library(pacman)
library(SummarizedExperiment)
library(TCGAbiolinks)
library(tidyverse)
library(magrittr)
library(data.table)
library(biomaRt)
projectPath = "D:/Project/sxkong_200415"
dataPath = paste(projectPath, "Data", sep = "/")
if(!dir.exists(dataPath)) dir.create(dataPath)
setwd(dataPath)
TCGAbiolinks:::getProjectSummary("TCGA-LIHC")
LIHC_query <- GDCquery(project = "TCGA-LIHC",
legacy = FALSE,
experimental.strategy = "RNA-Seq",
data.category = "Transcriptome Profiling",
data.type = "Gene Expression Quantification",
workflow.type = "HTSeq - FPKM-UQ")
GDCdownload(LIHC_query,files.per.chunk = 50)
dataAssy = GDCprepare(LIHC_query, summarizedExperiment = F)
R版本4.0.5 下载完数据运行 : dataAssy = GDCprepare(LIHC_query, summarizedExperiment = F)时,
出现以下错误
> dataAssy = GDCprepare(LIHC_query, summarizedExperiment = F,directory = "GDCdata")
| | 0% 错误: 'C:\Users\神的孩~1\AppData\Local\Temp\RtmpMl9OQE\file8a46f293134' does not exist.
Error in if (value == n) { : 参数长度为零
> dataAssy = GDCprepare(LIHC_query, summarizedExperiment = F,directory = "GDCdata")
| | 0% 错误: 'C:\Users\神的孩~1\AppData\Local\Temp\RtmpMl9OQE\file8a45b9d58fd' does not exist.
Error in if (value == n) { : 参数长度为零
> dataAssy = GDCprepare(LIHC_query, summarizedExperiment = F)
| | 0% 错误: 'C:\Users\神的孩~1\AppData\Local\Temp\RtmpMl9OQE\file8a4798e51d6' does not exist.
Error in if (value == n) { : 参数长度为零
求大神指点,小白一个,鼓捣两天了,实在是没辙了T T