convert.variants.to.GRanges: convert.variants.to.GRanges

Description Usage Arguments Details Value Author(s) Examples

View source: R/convert.variants.to.GRanges.R

Description

Given a data.frame of SNPs, convert the SNP locations to a GRanges object.

Usage

1

Arguments

variants

Data frame with four header columns and SNPs in the remaining columns.

Details

This function creates a GRanges object from the CHR and POS columns of the SNP data.frame.

Value

GRanges object containing the SNP locations.

Author(s)

Daniel Gatti

Examples

1
2

SNPtools documentation built on May 29, 2017, 3:12 p.m.