Learn R Programming

hpar (version 1.14.2)

setHparOptions: Sets the 'hpar' options

Description

Function used to set the hpadata hpar option.

Usage

setHparOptions(hpadata = c("NormalTissue", "Rna", "SubcellularLoc"))

Arguments

hpadata
A character defining the default data to be queries. Choices are "NormalTissue", "Rna" or "SubcellularLoc", or any unambiguous prefix.

Value

  • Returns the set value of the hpar option. Used for its side effect.

Examples

Run this code
oldOpt <- getHparOptions()
oldOpt$hpadata
setHparOptions("Rna")
getHparOptions()
setHparOptions(oldOpt$hpadata)

Run the code above in your browser using DataLab