getMatrixWithSelectedIds: Convert the rownames of a dataframe or matrix to a different...

Description Usage Arguments Examples

Description

This function can take any of the columns(org.Hs.eg.db) as type and keys as long as the row names are in the format of the keys argument

Usage

1

Arguments

df

Dataframe of matrix whose rownames are to be converted.

type

Format of converted rownames: e.g. "SYMBOL" or "ENTREZID"

keys

Present format of rownames: e.g. "SYMBOL" or "ENTREZID"

db

Annotation database: e.g. "org.Hs.eg.db" or "org.Mm.eg.db"

Examples

1
M1entrez <- getMatrixWithSelectedIds(M1symb, type="ENTREZID", keys="SYMBOL", db = org.Mm.eg.db)

vincent-van-hoef/myFunctions documentation built on May 14, 2019, 10:36 p.m.