SnpGRanges-class {VanillaICE} | R Documentation

## An extension to GRanges for representing SNPs

### Description

An extension to GRanges for representing SNPs

Constructor for SnpGRanges class

### Usage

    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

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

[Package VanillaICE version 1.50.0 Index]