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 May 20, 2017, 10:15 p.m.
Search within the VanillaICE package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.