list problem
1
0
Entering edit mode
@andreas-zankl-1373
Last seen 10.3 years ago
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? Thanks Andreas -- -------------------------- Andreas Zankl, MD Division of Molecular Pediatrics Clinique Infantile 02/50 CHUV Avenue Pierre Decker 2 CH-1011 Lausanne Switzerland Phone: +41-21-3143778 Fax: +41-21-3143546 Email: andreas.zankl at gmail.com
• 989 views
ADD COMMENT
0
Entering edit mode
John Zhang ★ 2.9k
@john-zhang-6
Last seen 10.3 years ago
>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] > >Thanks >Andreas >-- > >-------------------------- >Andreas Zankl, MD >Division of Molecular Pediatrics >Clinique Infantile 02/50 >CHUV >Avenue Pierre Decker 2 >CH-1011 Lausanne >Switzerland >Phone: +41-21-3143778 >Fax: +41-21-3143546 >Email: andreas.zankl at gmail.com > >_______________________________________________ >Bioconductor mailing list >Bioconductor at stat.math.ethz.ch >https://stat.ethz.ch/mailman/listinfo/bioconductor Jianhua Zhang Department of Medical Oncology Dana-Farber Cancer Institute 44 Binney Street Boston, MA 02115-6084
ADD COMMENT
0
Entering edit mode
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... 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] > > -- -------------------------- Andreas Zankl, MD Division of Molecular Pediatrics Clinique Infantile 02/50 CHUV Avenue Pierre Decker 2 CH-1011 Lausanne Switzerland Phone: +41-21-3143778 Fax: +41-21-3143546 Email: andreas.zankl at gmail.com
ADD REPLY
0
Entering edit mode
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.
ADD REPLY

Login before adding your answer.

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