fastMapGenerate: Generate the fastMap hash tables.

Description Usage Arguments See Also Examples

View source: R/fastMapGenerate.R

Description

fastMapGenerate will parse through an HGNC file and create a hash table. Keys are the IDs found in unmappedColName and associated values are IDs found in HGNCSymbolColName. The type attribute of the hash table will be set to type. Hash table can be saved and can be loaded in future sessions. If there are conflicting keys or a tab delimited key, keep the first instance of the key or only store the first key respectively.

Usage

1
2
fastMapGenerate(fName, HGNCSymbolColName, unmappedColName, type,
  saveHashTable = TRUE, outputName)

Arguments

fName

The path to the HGNC gene symbol data set.

HGNCSymbolColName

The column name of the HGNC symbol.

unmappedColName

The column name the unmapped symbol.

type

The type of the gene database of unmappedColName.

saveHashTable

Boolean whether to save the hash table as an rds.

outputName

The path to save the RDS.

See Also

fastMapSanity on acceptable keys and values.

Other fastMap functions: fastMapSanity, fastMapUpdate, fastMap

Examples

1
2
3
4
5
## Not run: 
fastMapGenerate("hgnc_complete_set.txt", "symbol", "uniprot_ids",
                type = "UniProt", outputName = "fastMapUniProt.rds")

## End(Not run)

hyginn/ekplektoR documentation built on May 17, 2019, 9:16 p.m.