selecting probe set from expression matrix
1
0
Entering edit mode
@rhonda-decook-1033
Last seen 9.6 years ago
srini, It seems like there's a lot of ways to pull-out information for a specific gene depending on the type of object you're working with. The vignettes should help you here. Once you're working with a matrix like 'ex.data', a not so elegant way is by getting the probeset names with... > dimnames(ex.data)[[1]] Then you can pull out the rows(genes) you want from the expression set using a boolean vector: > ex.data[as.logical(dimnames(ex.data)[[1]]=="267644_s_at"),] This should give you the expression measure for each chip at the given gene as a numeric vector. _____________ To find out the type of an object called 'ex.data', type... > mode(ex.data) You can also ask if it is something, like... > is.matrix(ex.data) Rhonda > dear list, > > I generated expressions for a study in the following > way. > > rm.data <- justRMA() > ex.data <- exprs(rm.data) > > Now I want to select 217523_at, 212063_at, > 212014_x_at. > > How can I select these probesets. > > > dim(data) > [1] 22283 158 > > > 2 question: how do I know data is which type of > object. > > thank you > srini > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor >
• 600 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 3 hours ago
United States
exprs(rm.data)[c("217523_at", "212063_at","212014_x_at"),] HTH, Jim 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 >>> Srinivas Iyyer <srini_iyyer_bio@yahoo.com> 02/25/05 5:43 PM >>> dear list, I generated expressions for a study in the following way. rm.data <- justRMA() ex.data <- exprs(rm.data) Now I want to select 217523_at, 212063_at, 212014_x_at. How can I select these probesets. > dim(data) [1] 22283 158 2 question: how do I know data is which type of object. thank you srini _______________________________________________ Bioconductor mailing list Bioconductor@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/bioconductor ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.
ADD COMMENT

Login before adding your answer.

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