Question: Error in the fsva function after setting "newdat" argument to NULL
2
zicheng.hu • 20 wrote:
I ran the example code from the sva page :
bioconductor.org/packages/release/bioc/vignettes/sva/inst/doc/sva.R
Everything works great. However, I got an error after I change the code in chunk 24 from
fsvaobj = fsva(trainData,trainMod,trainSv,testData)
to
fsvaobj = fsva(trainData,trainMod,trainSv,newdat=NULL)
Error message: Error in fsva(trainData, trainMod, trainSv, newdat = NULL) : object 'newV' not found
Why am I not allowed to set "newdat" argument to NULL here? I want to clean the data using sva for clustering and PCA analysis, so I don't have test data. Can I only adjust the training data using fsva?
ADD COMMENT
• link
•
modified 18 months ago
by
victor.2wy • 0
•
written
20 months ago by
zicheng.hu • 20

