map_names: Match gene names within data to vertex identifiers with a...

Description Usage Arguments Author(s)

Description

Match gene names within data to vertex identifiers with a reference data set.

Usage

1
2
3
map_names(data, names = "gene_name", refdata, refcol = "preferred_name",
  refout = "protein_external_id", outname = "stringID",
  removeUnmapped = TRUE, quiet = FALSE)

Arguments

data

data.frame with column specified by the 'names' parameter.

names

character specifying the column name in data containing the 'names' of to be mapped from.

refdata

data.frame with reference data. Needs to contain the columns referred to by 'refcol' and 'refout'.

refcol

character the name of the column with matching information for the 'names' parameter.

refout

character the name of the column for in the reference with the information to be mapped to data.

outname

character the name given to the new information mapped to the 'data' data.frame.

removeUnmapped

logical indicating if rows should be removed if unmapped.

quiet

logical indicating if messages should be printed or not.

Author(s)

Christopher Nobles, Ph.D.


cnobles/spraphal documentation built on May 28, 2019, 7:35 p.m.