无法通过 Rscript 执行一个文件夹中的所有文本文件
Not able to executing all text files from one folder by a Rscript
这是一个 R
阵列质量指标脚本。第一步很顺利,但执行第二步后出现错误
library(arrayQualityMetrics)
library(limma)
library(tcltk)
X <-tk_choose.files(caption = "Choose X")
maData<-read.maimages(X, source="agilent", other.columns = "g", green.only=TRUE)
eSet<-new("ExpressionSet", exprs = maData$other$g, annotation =maData$genes[,7])
arrayQualityMetrics(eSet, outdir="QC_C", force = TRUE, do.logtransform = TRUE)
该程序现在 运行 但它显示此警告消息:
The directory 'QC_C' has been created.
Warning messages:
1: In svgStyleAttributes(style) :
Removing non-SVG style attribute name(s): subscripts, group.number, group.value
2: In svgStyleAttributes(style) :
Removing non-SVG style attribute name(s): subscripts, group.number, group.value
我哪里错了?是文件错误还是Rscript错误....
给出路径下文件夹的完整路径如下:
scanFiles<-dir(path='/path/to/folder/',pattern = ".*.txt$")
这是一个 R
阵列质量指标脚本。第一步很顺利,但执行第二步后出现错误
library(arrayQualityMetrics)
library(limma)
library(tcltk)
X <-tk_choose.files(caption = "Choose X")
maData<-read.maimages(X, source="agilent", other.columns = "g", green.only=TRUE)
eSet<-new("ExpressionSet", exprs = maData$other$g, annotation =maData$genes[,7])
arrayQualityMetrics(eSet, outdir="QC_C", force = TRUE, do.logtransform = TRUE)
该程序现在 运行 但它显示此警告消息:
The directory 'QC_C' has been created.
Warning messages:
1: In svgStyleAttributes(style) :
Removing non-SVG style attribute name(s): subscripts, group.number, group.value
2: In svgStyleAttributes(style) :
Removing non-SVG style attribute name(s): subscripts, group.number, group.value
我哪里错了?是文件错误还是Rscript错误....
给出路径下文件夹的完整路径如下:
scanFiles<-dir(path='/path/to/folder/',pattern = ".*.txt$")