gdata_add_gene_annots {snplinkage} | R Documentation |
gdata_add_gene_annots
Description
Add biomaRt gene annotations to Genotype Data object.
Usage
gdata_add_gene_annots(
gdata,
snp_idxs,
rsids_colname = "probe_id",
biomart_metadb = get_biomart_metadb()
)
Arguments
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. |
Value
Genotype Data object
[Package snplinkage version 1.0.0 Index]