Description Usage Arguments Details Value Author(s) Examples
Given a data.frame of SNPs, convert the SNP locations to a GRanges object.
1 | convert.variants.to.GRanges(variants)
|
variants |
Data frame with four header columns and SNPs in the remaining columns. |
This function creates a GRanges object from the CHR and POS columns of the SNP data.frame.
GRanges object containing the SNP locations.
Daniel Gatti
1 2 | data(example.snps)
gr = convert.variants.to.GRanges(example.snps[1:100,])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.