[BioC] list problem

James W. MacDonald jmacdon at med.umich.edu
Wed Oct 26 00:11:42 CEST 2005


Andreas Zankl wrote:
> Thanks. But how do I get the chromosomal locations for the probes 
> with more than one location? Sorry I am so slow on the uptake...

index <- lens > 1
yourlist <- as.list(hgu133plus2CHRLOC)[index]

Best,

Jim


> 
> Thanks
> Andreas
> 
> 
> 
>> >I would like to list all the probes in hgu133plus2CHRLOC that have
>>
>>>more than 1 chromosome location. I have problems getting the
>>>subsetting right, can you help me?
>>
>>Try:
>>
>>
>>> library("hgu133plus2")
>>> lens <- unlist(eapply(hgu133plus2CHRLOC, length))
>>
>> > moreThanOne <- lens[lens > 1]
>>
>>
> 
> 
> 


-- 
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.



More information about the Bioconductor mailing list