filterEM: Filter expression matrix based on annotation

View source: R/filterEM.R

filterEMR Documentation

Filter expression matrix based on annotation

Description

filterEM will annotate the probes in expression matrix and remove the duplicated gene symbols. because there will be many probes mapped to same genes, we will only keep the max value one.

Usage

filterEM(probes_expr, probe2gene)

Arguments

probes_expr

is an expression matrix which rownames are probes of probe2gene and each column is a sample

probe2gene

the first column is probes and the second column is corresponding gene symbols

Value

a expression matrix which has been filtered duplicated gene symbols

Examples

attach(GSE95166)
# head(probes_expr)
# head(probe2gene)
genes_expr <- filterEM(probes_expr,probe2gene)
# head(genes_expr)

AnnoProbe documentation built on Nov. 14, 2022, 9:05 a.m.