convertID: convert gene IDs by id map

Description Usage Arguments Value Examples

Description

For same gene, there are multple gene alias. In order to eliminate the possibility of missing any connections, convert the gene symbols to unique gene ids is important. This function can convert the gene symbols to unique ids and convert it back according a giving map.

Usage

1
	convertID(x,IDsMap,ByName=c("from","to"))

Arguments

x

a matrix or dataframe contain the columns to be converted.

IDsMap

a character vector of the identifier map

ByName

the column names to be converted

Value

a matrix or dataframe with converted gene IDs

Examples

1
2
3
	data("ce.IDsMap")
	bind<-cbind(from="daf-16", to=c("fkh-7", "hlh-13", "mxl-3", "nhr-3", "lfi-1"))
	convertID(toupper(bind), ce.IDsMap, ByName=c("from", "to"))


Search within the GeneNetworkBuilder package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.