ID mapping utility with WebGestalt server.
Usage
idMapping(
organism = "hsapiens",
dataType = "list",
inputGeneFile = NULL,
inputGene = NULL,
sourceIdType,
targetIdType = NULL,
collapseMethod = "mean",
mappingOutput = FALSE,
outputFileName = "",
cache = NULL,
hostName = "https://www.webgestalt.org/"
)
idToSymbol(
organism = "hsapiens",
dataType = "list",
inputGeneFile = NULL,
inputGene = NULL,
sourceIdType = "ensembl_gene_id",
collapseMethod = "mean",
mappingOutput = FALSE,
outputFileName = NULL,
cache = NULL,
hostName = "https://www.webgestalt.org/"
)Arguments
- organism
Currently, WebGestaltR supports 12 organisms. Users can use the function
listOrganismto check available organisms. Users can also inputothersto perform the enrichment analysis for other organisms not supported by WebGestaltR. For other organisms, users need to provide the functional categories, interesting list and reference list (for ORA method). Because WebGestaltR does not perform the ID mapping for the other organisms, the above data should have the same ID type.- dataType
Type of data, either
list,rnkorgmt. Could belist,rnkormatrixforidToSymbol.- inputGeneFile
The data file to be mapped.
- inputGene
Or the input could be given as an R object. GMT file should be read with
readGmt.- sourceIdType
The ID type of the data.
- targetIdType
The ID type of the mapped data.
- collapseMethod
The method to collapse duplicate IDs with scores.
mean,median,minandmaxrepresent the mean, median, minimum and maximum of scores for the duplicate IDs.- mappingOutput
Boolean if the mapping output is written to file.
- outputFileName
The output file name.
- cache
A directory to save data cache for reuse. Defaults to
NULLand disabled.- hostName
The server URL for accessing data. Mostly for development purposes.