Adding a column to phenoData dataframe
1
2
Entering edit mode
@ieee529-contact-5268
Last seen 9.6 years ago
How can I add a new phenotype (column) to an existing phenoData object without creating a new AnnotationDataFrame object and adding that?
• 2.8k views
ADD COMMENT
4
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
On Sun, May 6, 2012 at 6:48 AM, ieee529 contact <ieee529@gmail.com> wrote: > How can I add a new phenotype (column) to an existing phenoData object > without creating a new AnnotationDataFrame object and adding that? > > Here is an example: library(Biobase) data(sample.ExpressionSet) head(pData(sample.ExpressionSet)) pData(sample.ExpressionSet)$newColumn = rnorm(ncol(sample.ExpressionSet)) head(pData(sample.ExpressionSet)) Sean [[alternative HTML version deleted]]
ADD COMMENT

Login before adding your answer.

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