how to let readSummaries() use the correct directory to read allele information
0
0
Entering edit mode
hd48 • 0
@hd48-11877
Last seen 8.0 years ago


Hi, 

Good afternoon. I ran into some big trouble when using readSummaries() function to read my previous output.

Previously I used the following code to read .cel files

library(oligo)
library(genomewidesnp6Crlmm)
setwd("X:/RESULTS/me")

celFiles <- list.celfiles(path=dir,full.names=T) #dir is the folder where the .cel files are instored
outdir <- "X:/RESULTS/me"
crlmm(celFiles,outdir) 

Recently I moved these results to another computer, under the directory of "I:/data/me"

Now I need to read these results and I use the following code to do it. Before the moving, these code works. The only differece is the directory outdir1.

outdir1 <- "I:/data/me"
alleleA <- readSummaries("alleleA",outdir1) 

Surprisingly, the R immediately gave the following error code

> alleleA <- readSummaries("alleleA",outdir1)
opening ff X:/RESULTS/me/alleleA-155429de1549.ff
Error: file.access(filename, 0) == 0 is not TRUE

It looks like these results remembered where they were created and want to be found in the same place. Since the crlmm step is too long (take me about one week), It is not possible for me to re-read it. Can anyone give me a clue how to make the program use the correct directory to do the job?

Your help is highly appreciated.

Matt

bioconductor R oligo pd.genomewidesnp.6 • 793 views
ADD COMMENT

Login before adding your answer.

Traffic: 604 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6