snpCoordsDf2Gr: SNP coordinates from data frame to GRanges

View source: R/quantgen.R

snpCoordsDf2GrR Documentation

SNP coordinates from data frame to GRanges

Description

Convert a data frame of SNP coordinates to GRanges.

Usage

snpCoordsDf2Gr(x, si = NULL)

Arguments

x

data frame of SNP coordinates with at least two columns, "chr" and "coord" (or "pos")

si

output from the "seqinfo" function from the GenomeInfoDb package

Value

GRanges

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.