Description Usage Arguments Value
retrieves a gene's all snps
1 2 3 4 5 6 7 8 9 | mart.genesnps(
values = "CRHR1",
filters = "hgnc_symbol",
attributes = c("variation_name", "validated", "allele", "minor_allele",
"minor_allele_freq", "transcript_count", "clinical_significance", "ensembl_gene_id",
"chromosome_name", "start_position", "end_position", "band", "external_gene_name",
"description"),
host = NULL
)
|
values |
the actual input data values, cannot be all empty, but partial empty/NA fine, ensembl_gene_id, ENSG00000118473, c('ENSG00000118473', 'ENSG00000162426'). If vector, should be the same id type |
filters |
row filters in the db, input data type, 'hgnc_symbol'
|
attributes |
column attributes, what to return |
host |
default 'www.ensembl.org'. Other eg, 'grch37.ensembl.org', 'aug2017.archive.ensembl.org'. See all, run |
returns a data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.