ReadAffy() for customized Affy chips
2
0
Entering edit mode
@liqinghongstlouismolecular-biology-1463
Last seen 10.1 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20051110/ 3ccb8a90/attachment.pl
• 472 views
0
Entering edit mode
@james-w-macdonald-5106
Last seen 17 hours ago
United States
Li,Qinghong,ST.LOUIS,Molecular Biology wrote: > Dear BioC, > > We have our own customized Affy chip. I got my CEL files and related > CDF file. Based on the book "The Analysis of Gene Expression Data" by > editors Parmigiani et al., I put all the files under the working dir, > and evoke the function ReadAffy(). After that, I tried to use hist() > or boxplot(), I got the following error message: > > Error in getCdfInfo(object) : Could not obtain CDF environment, > problems encountered: Specified environment does not contain > Cxxxxx500001 Library - package cxxxxx500001cdf not installed Data for > package affy did not contain cxxxx500001cdf > > Also tried read.celfile() and read.cdffile(), but those methods were > not recognized. I guess, over the time, the package Affy has been > modified. > > Now, my question is: how am I going to read in the CDF file? Since it > is our own chip, I have nether package cxxxx500001cdf nor package > Cxxxx50001probe. Should I create my own packages? If so, how to do > that? See ?make.cdf.package and ?make.cdf.env in the makecdfenv package as well as ?makeProbePackage in matchprobes package. Also, note that any package you create has to be installed. If you make an env, you don't have to install that, but it will only persist in the existing workspace so is not as nice as a package. Note too that if you make a cdfenv (rather than package), you need to name it Cxxxxx500001 or the affy package will not find it. To install packages, see 5.1 Installing packages in 'R Installation and Administration', which can be accessed on the start page of the HTML help (invoked by help.start()). HTH, Jim > > > Thanks a million! Johnny > > [[alternative HTML version deleted]] > > _______________________________________________ Bioconductor mailing > list Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor -- James W. MacDonald University of Michigan Affymetrix and cDNA Microarray Core 1500 E Medical Center Drive Ann Arbor MI 48109 734-647-5623 ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.
ADD COMMENT
0
Entering edit mode
@liqinghongstlouismolecular-biology-1463
Last seen 10.1 years ago
Thanks Jim. Thanks for providing the helpful information. I tried both make.cdf.package and makecdfenv. I was able to make the env successfully. But for some reason, the package made from make.cdf.package didn't work -- I was not able to install it. I used "Install package(s) from local .zip files" dropdown manual (I zipped the package I made), but I got this message: > utils:::menuInstallLocal() Error in gzfile(file, "r") : unable to open connection In addition: Warning messages: 1: error -1 in extracting from zip file 2: cannot open compressed file 'cxxxx500001cdf/DESCRIPTION' Not sure what was going on with the package I made. But at least one of the methods works. Johnny -----Original Message----- From: bioconductor-bounces@stat.math.ethz.ch [mailto:bioconductor-bounces at stat.math.ethz.ch]On Behalf Of James W. MacDonald Sent: Thursday, November 10, 2005 3:08 PM To: bioconductor at stat.math.ethz.ch Subject: Re: [BioC] ReadAffy() for customized Affy chips Li,Qinghong,ST.LOUIS,Molecular Biology wrote: > Dear BioC, > > We have our own customized Affy chip. I got my CEL files and related > CDF file. Based on the book "The Analysis of Gene Expression Data" by > editors Parmigiani et al., I put all the files under the working dir, > and evoke the function ReadAffy(). After that, I tried to use hist() > or boxplot(), I got the following error message: > > Error in getCdfInfo(object) : Could not obtain CDF environment, > problems encountered: Specified environment does not contain > Cxxxxx500001 Library - package cxxxxx500001cdf not installed Data for > package affy did not contain cxxxx500001cdf > > Also tried read.celfile() and read.cdffile(), but those methods were > not recognized. I guess, over the time, the package Affy has been > modified. > > Now, my question is: how am I going to read in the CDF file? Since it > is our own chip, I have nether package cxxxx500001cdf nor package > Cxxxx50001probe. Should I create my own packages? If so, how to do > that? See ?make.cdf.package and ?make.cdf.env in the makecdfenv package as well as ?makeProbePackage in matchprobes package. Also, note that any package you create has to be installed. If you make an env, you don't have to install that, but it will only persist in the existing workspace so is not as nice as a package. Note too that if you make a cdfenv (rather than package), you need to name it Cxxxxx500001 or the affy package will not find it. To install packages, see 5.1 Installing packages in 'R Installation and Administration', which can be accessed on the start page of the HTML help (invoked by help.start()). HTH, Jim > > > Thanks a million! Johnny > > [[alternative HTML version deleted]] > > _______________________________________________ Bioconductor mailing > list Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor -- James W. MacDonald University of Michigan Affymetrix and cDNA Microarray Core 1500 E Medical Center Drive Ann Arbor MI 48109 734-647-5623 ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues. _______________________________________________ Bioconductor mailing list Bioconductor at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/bioconductor
0
Entering edit mode
Li,Qinghong,ST.LOUIS,Molecular Biology wrote: > Thanks Jim. > > Thanks for providing the helpful information. I tried both > make.cdf.package and makecdfenv. I was able to make the env > successfully. > > But for some reason, the package made from make.cdf.package didn't > work -- I was not able to install it. I used "Install package(s) > from local .zip files" dropdown manual (I zipped the package I made), > but I got this message: A common mistake, but as you found, a mistake nonetheless. This is why I recommended you look at 'R Installation and Administration' section 5.1. There are specific instructions there that explain how you install packages, and in Appendix F there are instructions on getting various tools you will need on Windows in order to do so. These instructions are rather terse, but note that if you want to install packages on Windows, you have to follow what they say _exactly_. This can be a daunting task the first time through, but once you know what to do, it is really quite simple. HTH, Jim > > >> utils:::menuInstallLocal() > > Error in gzfile(file, "r") : unable to open connection In addition: > Warning messages: 1: error -1 in extracting from zip file 2: cannot > open compressed file 'cxxxx500001cdf/DESCRIPTION' > > Not sure what was going on with the package I made. But at least one > of the methods works. > > Johnny > -- James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623
ADD REPLY

Login before adding your answer.

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