readPositonalinfo
1
0
Entering edit mode
adesh ashok ▴ 30
@adesh-ashok-5463
Last seen 9.6 years ago
hi all, i am trying to normalize ,segment and process gene expression data using r version 2.15.1 iam stuck at nomalization where in i have tried the following commands. >library(marray) >library(convert) >folder <- 'C:/man/' >file <- sort (dir(folder)) >o <- order(as.numeric(sub( 'OC ', '', sub('.txt', '', file)))) >file <- file[o] >data <- read.Agilent(fnames=file) >p <- order(data@maGnames@maInfo$ProbeName) >data <- data[p,] >normData <- maNorm(data) >normData@maLayout@maSub <- TRUE >normData@maLayout@maNspots <- nrow(normData@maM) >ma <- as(normData, 'MAList') >source('readPositionalInfo.R') # this command it returns me an error Error in file(filename, "r", encoding = encoding) : cannot open the connection In addition: Warning message: In file(filename, "r", encoding = encoding) : cannot open file 'readPositionalInfo.R': No such file or directory i have even tried making a clone info file using this format in an excel sheet and saved it as (cloneinfo.txt) but this is also not being accepted. probe_id Chr Position could anyone help me with as to how to proceed next and can we use any other command instead of source('readPositionalInfo.R'). any help will be greatly appreciated thanks adesh [[alternative HTML version deleted]]
PROcess PROcess • 687 views
ADD COMMENT
0
Entering edit mode
Dario Strbenac ★ 1.5k
@dario-strbenac-5916
Last seen 18 hours ago
Australia
That's a function in the package snapCGH. Why did you not write library(snapCGH) since that loads the package which contains the function you want to use in the analysis ? Also, source("filename.R") reads a file in, if it is in your current working directory. If it's somewhere else, you need to provide an absolute path. e.g. source("C:/scripts/filename.R") -------------------------------------- Dario Strbenac PhD Student University of Sydney Camperdown NSW 2050 Australia
ADD COMMENT

Login before adding your answer.

Traffic: 535 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