View source: R/biomart_annots.R
gdata_add_gene_annots | R Documentation |
Add biomaRt gene annotations to Genotype Data object.
gdata_add_gene_annots(
gdata,
snp_idxs,
rsids_colname = "probe_id",
biomart_metadb = get_biomart_metadb()
)
gdata |
Genotype Data object |
snp_idxs |
SNP indexes |
rsids_colname |
Column of SNP annotation data frame with rs identifiers |
biomart_metadb |
List with slots snpmart and ensembl, corresponding to the biomart databases to query for SNP identifiers and gene names, respectively. See get_biomart_metadb function. |
Genotype Data object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.