Either return data.frame with all results, or output a list, then call
the charicteristic by id (paramater = "id") or
name (paramater = "characteristic").

Usage

1
2

Arguments

snp

SNP name.

output

Name the source or sources you want annotations from (options
are: 'plos', 'mendeley', 'snpedia', 'metadata'). 'metadata' gives the
metadata for the response.

...

Curl options passed on to GET.

Value

Data.frame of results.

Examples

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

## Not run: # Get all data## get just the metadataannotations(snp ='rs7903146', output ='metadata')## just from plosannotations(snp ='rs7903146', output ='plos')## just from snpediaannotations(snp ='rs7903146', output ='snpedia')## get all annotationsannotations(snp ='rs7903146', output ='all')## End(Not run)