Description Usage Arguments Value Author(s) Examples
Queries one if the HPA data sets with the id Ensembl
gene identifier. The data set to be used is defined by the
hpadata argument.
1 |
id |
A Ensembl gene identifier. |
hpadata |
A |
type |
A |
A data.frame with the information corresponding to
the respective id genes. If type is
details, then the dataframe is returned
invisibly and a web page is opened with
browseURL.
Laurent Gatto
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | id <- "ENSG00000000003"
## Define 'hpadata' data manually
getHpa(id, hpadata = "hpaSubcellularLoc")
head(getHpa(id, hpadata = "hpaNormalTissue"), )
head(getHpa(id, hpadata = "rnaGeneTissue"))
head(getHpa(id, hpadata = "rnaGeneCellLine"))
head(getHpa(id, hpadata = "hpaCancer"))
## Sets default to "SubcellularLoc"
setHparOptions(hpadata = "hpaSubcellularLoc")
getHpa(id) ## now uses "hpaSubcellularLoc"
setHparOptions() ## reset to "hpaNormalTissue"
head(getHpa(id))
## multiple ids
getHpa(id = c("ENSG00000000003", "ENSG00000000005"),
hpadata = "hpaSubcellularLoc")
## Not run:
## opens a browser with http://www.proteinatlas.org/ENSG00000163435
getHpa("ENSG00000163435", type = "details")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.