r - 文件错误(文件,“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”):无效的“描述”参数
解决方案
推荐阅读
- automation - 无法启动 webkit 或与 playwright 截屏
- python - Python:将日志记录模块与 configparser 或 argparser 一起使用
- javascript - 使用 Leaflet 扩展自定义图标的“可点击”区域
- c# - 不使用 SSL 或 TLS 时 MailKit 中的 SSL 或 TLS 连接错误
- excel - 对于大文件(大于 1GB),如何使用 VBA (Excel) 将带有 unix 行结尾的文件转换为 DOS 并快速完成?
- c - 当我链接目标文件时,为什么我的 pdb 文件缺少符号?
- java - 如何在 AppCompatTextView 的末尾添加一个 LinerLayout?
- ios - 将相机照片保存到文件位置 - Swift Xcode
- javascript - 将字符串拆分为字符对
- c++ - 重载函数调用 operator() 用于模板对象的索引和赋值