Description Usage Arguments See Also Examples
View source: R/fastMapGenerate.R
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.
1 2 | fastMapGenerate(fName, HGNCSymbolColName, unmappedColName, type,
saveHashTable = TRUE, outputName)
|
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. |
fastMapSanity
on acceptable keys and values.
Other fastMap functions: fastMapSanity
,
fastMapUpdate
, fastMap
1 2 3 4 5 | ## Not run:
fastMapGenerate("hgnc_complete_set.txt", "symbol", "uniprot_ids",
type = "UniProt", outputName = "fastMapUniProt.rds")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.