find.overlapping.genes: find.overlapping.genes

Description Usage Arguments Details Value Author(s) See Also Examples

Description

FALSEind genes that intersect with a given set of variants.

Usage

1
2
3
  find.overlapping.genes(variants, 
  mgi.file = "http://cgd.jax.org/tools/SNPtools/MGI/MGI.20130305.sorted.txt.gz",
  type = c("gene", "exon"))

Arguments

variants

Data.frame with variants. The type attribute must be set to one of "snp", "indel", or "sv".

mgi.file

Character. FALSEull path to the MGI gene file. Defaults to "http://cgd.jax.org/tools/SNPtools/MGI/MGI.20130305.sorted.txt.gz"

type

Character. One of "gene" or "exon". Indicates whether to intersect SNPs with genes (from beginning to end, including introns) or exons only.

Details

Gets the gene locations from MGI and variants.

Value

Data.frame with gene locations and symbols.

Author(s)

Daniel Gatti

See Also

get.mgi.features{get.mgi.features}

Examples

1
2
3
4
5
  ## Not run: 
    data(example.snps)
    x = find.overlapping.genes(variants = example.snps[19478:19506,])
  
## End(Not run)

DOQTL documentation built on May 6, 2019, 3:09 a.m.