mart.genesnps: retrieves a gene's all snps

Description Usage Arguments Value

View source: R/biomart.R

Description

retrieves a gene's all snps

Usage

1
2
3
4
5
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)

Arguments

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'
"ensembl_gene_id"(ENSG00000118473),"hgnc_id"(HGNC:25412),"entrezgene" (84251),"kegg_enzyme"(00010+1.1.1.1),"go_id"(GO:0030122),"ucsc"(uc057hhx.1)

attributes

column attributes, what to return

host

default 'www.ensembl.org'. Other eg, 'grch37.ensembl.org', 'aug2017.archive.ensembl.org'. See all, run mart.list

Value

returns a data frame


jerryzhujian9/bzR documentation built on May 16, 2019, 7:13 p.m.