首页 > 解决方案 > 文件错误(文件,“rt”):设置工作目录时“描述”参数无效

问题描述

我正在设置我的工作目录以在 R 上运行差异表达式代码。我不断收到此错误,文件中的错误(文件,“rt”):无效的“描述”参数

我曾尝试更改目录,setwd但没有奏效

source("https://bioconductor.org/biocLite.R")
biocLite("ballgown")
library(ballgown)
install.packages("calibrate")
library(calibrate)

##specify data directory and make ballgown object##
###directory files must look EXACTLY like the files in the example ballgown extdata directory###
data_directory=file.path("user/cash/Desktop/ccar-1 differential expression analysis/differential expresison")
data_directory
bg=ballgown(dataDir=data_directory, samplePattern='IKH', meas='all')
meas = 
###[ballgown instance with 227079 transcripts and 12 samples]###
View(bg)
sampleNames(bg)

错误信息是

文件中的错误(文件,“rt”):无效的“描述”参数

标签: r

解决方案


推荐阅读