On Tue, Feb 16, 2010 at 6:50 PM, camelbbs <[email protected]> wrote:
> Hi,
> Can anyone help me for this error?
>
>> u<-indexOf(cdf,"6811818")
>> u
> integer(0)

This tells you that there is no unit with name "6811818" in the
MoEx-1_0-st-v1,coreR1,A20080718,MR CDF file.  You are simply asking
for information on a non-existing unit. You can get the unit names
available in a CDF by:

unitNames <- getUnitNames(cdf);

>> ugcM <- getUnitGroupCellMap(getCdf(ds), units=u, retNames=TRUE)
> Error in if (any(units < 1)) stop("Argument 'units' contains non-
> positive indices.") :
>  missing value where TRUE/FALSE needed

This is an error, because you request to get the (unit,group,cell) map
of zero (an empty set of) units.   The error message is not clear on
this, because it is really an unexpected use case.

Hope this helps

Henrik

>> cdf
> AffymetrixCdfFile:
> Path: annotationData/chipTypes/MoEx-1_0-st-v1
> Filename: MoEx-1_0-st-v1,coreR1,A20080718,MR.cdf
> Filesize: 30.53MB
> Chip type: MoEx-1_0-st-v1,coreR1,A20080718,MR
> RAM: 0.62MB
> File format: v4 (binary; XDA)
> Dimension: 2560x2560
> Number of cells: 6553600
> Number of units: 17831
> Cells per unit: 367.54
> Number of QC units: 1
>>
>
> --
> 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 [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/aroma-affymetrix?hl=en

-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/aroma-affymetrix?hl=en

Reply via email to