Hello,
I am trying to process some expression data using the xps package and having some trouble importing the root schemes for the probes. Here is the code:
`library(xps)
## define paths
scmdir <- paste(path.package("xps"), "/schemes", sep = "")
libdir <- "mypath//libraryfiles"
anndir <- "mypath/Annotation"
# Process root scheme for A-AFFY-18
A.AFFY.18 <- import.expr.scheme("A_AFFY_18", filedir=scmdir,
schemefile=file.path(libdir, "RG_U34A.cdf"),
probefile=file.path(libdir, "A-AFFY-18.probe.tab"),
annotfile=file.path(anndir, "A-AFFY-18.annot.csv"))'
Resulting in:
Error: Could not create file </Library/Frameworks/R.framework/Versions/3.3/Resources/library/xps/schemes/A_AFFY_18.root>
Error in import.expr.scheme("A_AFFY_18", filedir = scmdir, schemefile = file.path(libdir, :
error in function ‘ImportExprSchemes’
sessioninfo:
R version 3.3.2 (2016-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: macOS Sierra 10.12.2
locale:
[1] en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8
attached base packages:
[1] stats4 parallel stats graphics grDevices utils datasets methods base
other attached packages:
[1] rat2302.db_3.2.3 org.Rn.eg.db_3.4.0 mouse4302.db_3.2.3 org.Mm.eg.db_3.4.0 AnnotationDbi_1.36.2
[6] IRanges_2.8.1 S4Vectors_0.12.1 limma_3.30.9 affy_1.52.0 Biobase_2.34.0
[11] BiocGenerics_0.20.0 xps_1.34.0
loaded via a namespace (and not attached):
[1] Rcpp_0.12.9 digest_0.6.12 DBI_0.5-1 RSQLite_1.1-2
[5] BiocInstaller_1.24.0 zlibbioc_1.20.0 affyio_1.44.0 preprocessCore_1.36.0
[9] tools_3.3.2 memoise_1.0.0
Probeset data derived from:
https://www.ebi.ac.uk/arrayexpress/files/A-AFFY-18/?ref=E-GEOD-464
Appreciate any help.