Re: [aroma.affymetrix] Re: can't load CDF file

2010-03-10 Thread Henrik Bengtsson
Hi.

On Wed, Mar 10, 2010 at 7:23 PM, dkny169 daniela...@yahoo.com wrote:
 Hi Henrik,
 The upload of the cdf file worked now perfectly. Thanks for pointing
 out the right version of the supplementary file.
 Unfortunately, the upload of the .CEL files still doesn't work? Any
 ideas?

 cs-AffymetrixCelSet$byName(tissues,cdf=cdf)
 Error in list(`AffymetrixCelSet$byName(tissues, cdf = cdf)` =
 environment,  :

 [2010-03-10 13:20:35] Exception: Could not locate a file for this chip
 type: MoGene-1_0-st-v1

This means that it could not locate any CEL files in the data set
directory.  In other words, make sure your CEL files are located in:

rawData/tissues/MoGene-1_0-st-v1/

This is explained on page 'Setup: Location of raw data files':

  http://www.aroma-project.org/node/68

Hope this helps

/Henrik

PS. It is called the loading of... or better the setup of..., not
upload of

  at throw(Exception(...))
  at throw.default(The specified CDF structure (', getChipType(cdf),
 ') is no
  at throw(The specified CDF structure (', getChipType(cdf), ') is
 not compat
  at setCdf.AffymetrixCelSet(set, cdf)
  at setCdf(set, cdf)
  at byPath.AffymetrixCelSet(static, path = path, cdf = cdf, ...)
  at byPath(static, path = path, cdf = cdf, ...)
  at withCallingHandlers(expr, warning = function(w)
 invokeRestart(muffleWarnin
  at suppressWarnings({
  at method(static, ...)
  at AffymetrixCelSet$byName(tissues, cdf = cdf)

 Many thanks,
 Daniela

 On Mar 9, 5:12 pm, Henrik Bengtsson henrik.bengts...@gmail.com
 wrote:
 Hi.

 On Tue, Mar 9, 2010 at 11:01 PM, dkny169 daniela...@yahoo.com wrote:
  Hi Henrik,
  I got my documentation from 
  here:http://bioinf.wehi.edu.au/folders/firmagene/sup3.R

 Thanks.  That is from the FIRMAGene supplementary materials:

    http://bioinf.wehi.edu.au/folders/firmagene/

 Mark provides a more up-to-date version:

 [04-Feb-2010] Made a modification to the sup3.R script, now available
 as sup3_04feb2010.R, to make sure we use the Ensembl annotation that
 corresponds to the hg18 (Mar 2006) build.

 Mark, would you mind making it more clear on the above URL that
 'sup3.R' is out dated?  Reversing the NEWS list so that the most
 recent events are at the top may help too.  Maybe also by renaming the
 outdated one sup3.R to sup3_06jun2009.R.

  If you could give me a link to a vignette or manual on how to use
  FIRMAGene, which is up to date and understandable, I would be more
  than thankful!

 More comments below...



  Many thanks,
  Daniela

  On Mar 9, 4:56 pm, Henrik Bengtsson henrik.bengts...@gmail.com
  wrote:
  Hi,

  please let us know what your source of documentation is, e.g.
  webpages, because you are using method names that are either outdated
  or non-public.  Then I'll answer your questions...

  /Henrik

  On Tue, Mar 9, 2010 at 10:44 PM, dkny169 daniela...@yahoo.com wrote:
   Hi Mark,
   Thanks for your answer. I think it works now; I had the working
   directory set at chipTypes and not at the parent directory of
   annotationData.
   I am getting following back:
   cdf-AffymetrixCdfFile$findByChipType(MoEx-1_0-st-v1)
   cdf
   [1] annotationData/chipTypes/MoEx-1_0-st-v1/MoEx-1_0-st-v1.cdf

 Don't use findByChipType(), which only returns a pathname, but
 byChipType(), which returns an AffymetrixCdfFile object, i.e.

 cdf - AffymetrixCdfFile$byChipType(MoEx-1_0-st-v1);

 [You did this in your first email, but then all of a sudden
 findByChipType(), which is why I wondered where you got that from.]



   I am trying to upload the CEL files now that are stored in rawData/
   tissues/MoEx-1_0-st-v1. The working directory is set at the parent
   directory of rawData. But again I am getting a failure message. What
   am I doing wrong now?
   cs-AffymetrixCelSet$fromName(tissues,cdf=cdf)
   Error in list(`AffymetrixCelSet$fromName(tissues, cdf = cdf)` =
   environment,  :

   [2010-03-09 16:28:12] Exception: AffymetrixCelSet$fromName() is
   defunct. Use AffymetrixCelSet$byName() instead.

 This error message is clear, ehe?

    at throw(Exception(...))
    at throw.default(msg)
    at throw(msg)
    at method(static, ...)
    at AffymetrixCelSet$fromName(tissues, cdf = cdf)
   cs-AffymetrixCelSet$byName(tissues,cdf=cdf)
   Error in list(`AffymetrixCelSet$byName(tissues, cdf = cdf)` =
   environment,  :

   [2010-03-09 16:38:21] Exception: Argument 'cdf' is neither of nor
   inherits class AffymetrixCdfFile: character

 This one is because you used findByChipType() above; use byChipType()
 and it will work.

 Hope this helps

 Henrik

    at throw(Exception(...))
    at throw.default(sprintf(Argument '%s' is neither of nor inherits
   class %s: %
    at throw(sprintf(Argument '%s' is neither of nor inherits class %s:
   %s, .nam
    at method(static, ...)
    at Arguments$getInstanceOf(cdf, AffymetrixCdfFile)
    at method(static, ...)
    at AffymetrixCelSet$byName(tissues, cdf = cdf)

   Thanks,
   Daniela

   On Mar 9, 3:23 pm, Mark Robinson mrobin...@wehi.edu.au wrote:
   Hi 

Re: [aroma.affymetrix] Re: can't load CDF file

2010-03-09 Thread Henrik Bengtsson
Hi.

On Tue, Mar 9, 2010 at 11:01 PM, dkny169 daniela...@yahoo.com wrote:
 Hi Henrik,
 I got my documentation from here: 
 http://bioinf.wehi.edu.au/folders/firmagene/sup3.R

Thanks.  That is from the FIRMAGene supplementary materials:

   http://bioinf.wehi.edu.au/folders/firmagene/

Mark provides a more up-to-date version:

[04-Feb-2010] Made a modification to the sup3.R script, now available
as sup3_04feb2010.R, to make sure we use the Ensembl annotation that
corresponds to the hg18 (Mar 2006) build.

Mark, would you mind making it more clear on the above URL that
'sup3.R' is out dated?  Reversing the NEWS list so that the most
recent events are at the top may help too.  Maybe also by renaming the
outdated one sup3.R to sup3_06jun2009.R.

 If you could give me a link to a vignette or manual on how to use
 FIRMAGene, which is up to date and understandable, I would be more
 than thankful!

More comments below...

 Many thanks,
 Daniela

 On Mar 9, 4:56 pm, Henrik Bengtsson henrik.bengts...@gmail.com
 wrote:
 Hi,

 please let us know what your source of documentation is, e.g.
 webpages, because you are using method names that are either outdated
 or non-public.  Then I'll answer your questions...

 /Henrik

 On Tue, Mar 9, 2010 at 10:44 PM, dkny169 daniela...@yahoo.com wrote:
  Hi Mark,
  Thanks for your answer. I think it works now; I had the working
  directory set at chipTypes and not at the parent directory of
  annotationData.
  I am getting following back:
  cdf-AffymetrixCdfFile$findByChipType(MoEx-1_0-st-v1)
  cdf
  [1] annotationData/chipTypes/MoEx-1_0-st-v1/MoEx-1_0-st-v1.cdf

Don't use findByChipType(), which only returns a pathname, but
byChipType(), which returns an AffymetrixCdfFile object, i.e.

cdf - AffymetrixCdfFile$byChipType(MoEx-1_0-st-v1);

[You did this in your first email, but then all of a sudden
findByChipType(), which is why I wondered where you got that from.]


  I am trying to upload the CEL files now that are stored in rawData/
  tissues/MoEx-1_0-st-v1. The working directory is set at the parent
  directory of rawData. But again I am getting a failure message. What
  am I doing wrong now?
  cs-AffymetrixCelSet$fromName(tissues,cdf=cdf)
  Error in list(`AffymetrixCelSet$fromName(tissues, cdf = cdf)` =
  environment,  :

  [2010-03-09 16:28:12] Exception: AffymetrixCelSet$fromName() is
  defunct. Use AffymetrixCelSet$byName() instead.

This error message is clear, ehe?

   at throw(Exception(...))
   at throw.default(msg)
   at throw(msg)
   at method(static, ...)
   at AffymetrixCelSet$fromName(tissues, cdf = cdf)
  cs-AffymetrixCelSet$byName(tissues,cdf=cdf)
  Error in list(`AffymetrixCelSet$byName(tissues, cdf = cdf)` =
  environment,  :

  [2010-03-09 16:38:21] Exception: Argument 'cdf' is neither of nor
  inherits class AffymetrixCdfFile: character

This one is because you used findByChipType() above; use byChipType()
and it will work.

Hope this helps

Henrik

   at throw(Exception(...))
   at throw.default(sprintf(Argument '%s' is neither of nor inherits
  class %s: %
   at throw(sprintf(Argument '%s' is neither of nor inherits class %s:
  %s, .nam
   at method(static, ...)
   at Arguments$getInstanceOf(cdf, AffymetrixCdfFile)
   at method(static, ...)
   at AffymetrixCelSet$byName(tissues, cdf = cdf)

  Thanks,
  Daniela

  On Mar 9, 3:23 pm, Mark Robinson mrobin...@wehi.edu.au wrote:
  Hi Daniela.

  Is your CDF in the:

  annotationData/chipTypes/MoEx-1_0-st-v1/

  directory?

  (http://aroma-project.org/node/66)

  Cheers,
  Mark

   Hi,
   I stored my CDF file in annotationData/chipTypes; nevertheless I cannot
   upload the file.
   Can anyone please tel me what I am doing wrong:

   cdf-AffymetrixCdfFile$byChipType(MoEx-1_0-st-v1.cdf)

   ror in list(`AffymetrixCdfFile$byChipType(MoEx-1_0-st-v1.cdf)` =
   environment, :

   [2010-03-09 14:50:58] Exception: Could not locate a file for this chip
   type: MoEx-1_0-st-v1.cdf
   at throw(Exception(...))
   at throw.default(Could not locate a file for this chip type: ,
   paste(c(chipT
   at throw(Could not locate a file for this chip type: ,
   paste(c(chipType, tag
   at method(static, ...)
   at AffymetrixCdfFile$byChipType(MoEx-1_0-st-v1.cdf)

   Many thanks for your help!

   --
   When reporting problems on aroma.affymetrix, make sure 1) to run the
   latest version of the package, 2) to report the output of sessionInfo()
   and traceback(), and 3) to post a complete code example.

   You received this message because you are subscribed to the Google 
   Groups
   aroma.affymetrix group.
   To post to this group, send email to aroma-affymetrix@googlegroups.com
   To unsubscribe from this group, send email to
   aroma-affymetrix-unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/aroma-affymetrix?hl=en

  __
  The information in this email is confidential and intended solely for the 
  addressee.