Learn R Programming

qtl2pattern (version 1.2.1)

get_gene_snp: Match genes with SNPs

Description

Internal routine to find features that overlap with SNPs

Usage

get_gene_snp(
  snp_tbl,
  feature_tbl,
  feature_snp = get_feature_snp(snp_tbl, feature_tbl, 0)
)

Value

tbl of genes covering SNPs

Arguments

snp_tbl

tbl of SNPs from query_variants; see package create_variant_query_func

feature_tbl

tbl of feature information from query_genes; see package create_gene_query_func

feature_snp

tbl of feature information from get_feature_snp

Author

Brian S Yandell, brian.yandell@wisc.edu