Description Usage Arguments Details Value Author(s) See Also Examples
FALSEind genes that intersect with a given set of variants.
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"))
|
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. |
Gets the gene locations from MGI and variants.
Data.frame with gene locations and symbols.
Daniel Gatti
get.mgi.features{get.mgi.features}
1 2 3 4 5 | ## Not run:
data(example.snps)
x = find.overlapping.genes(variants = example.snps[19478:19506,])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.