SnpGRanges: An extension to GRanges for representing SNPs

Description Usage Arguments Slots Examples

Description

An extension to GRanges for representing SNPs

Constructor for SnpGRanges class

Usage

1
2
3
4
5
6
7
SnpGRanges(object = GRanges(), isSnp, ...)

## S4 method for signature 'missing'
SnpGRanges(object, isSnp)

## S4 method for signature 'GRanges'
SnpGRanges(object, isSnp)

Arguments

object

A GRanges object

isSnp

A logical vector. Each genomic interval in the GRanges container corresponds to a marker on the genotyping array. isSnp is FALSE for nonpolymorphic markers such as those included on the Affymetrix 6.0 chips.

...

ignored

Slots

elementMetadata

a SnpDataFrame

Examples

1
2
3
SnpGRanges()
g <- GRanges("chr1", IRanges(15L, 15L))
SnpGRanges(g, isSnp=TRUE)

VanillaICE documentation built on Nov. 8, 2020, 7:33 p.m.