probe2gene | R Documentation |
Function to transform expression values from probe set to gene level data. If genes are represented by several probe sets then their mean intensities are used. Probe sets not matching any gene ids are removed.
probe2gene(expr_df, annot)
expr_df |
data.frame with probe set level expression data |
annot |
data.frame containing probe set id (in row name slot) to gene entrez id (in first column) mapping information |
data.frame with gene level expression values
expr_df <- data.frame(t1=runif(3), t2=runif(3), row.names=paste0("p", 1:3))
annot <- data.frame(ENTREZID=c("123","123","124"),
SYMBOL=c("g1","g1","g2"),
row.names=paste0("p", 1:3))
gdf <- probe2gene(expr_df, annot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.