getVariantCalls: Elaborate the result of getVariants as a VRanges with all...

Description Usage Arguments Value Examples

View source: R/variants.R

Description

Elaborate the result of getVariants as a VRanges with all calls for all samples

Usage

1
2
3
getVariantCalls(variantSetId = "10473108253681171589", chromosome = "22",
  start = 16051400, end = 16051500, fields = NULL, converter = c,
  oneBasedCoord = TRUE, nullAction = "stop")

Arguments

variantSetId

The dataset ID.

chromosome

The chromosome.

start

Start position on the chromosome in 0-based coordinates.

end

End position on the chromosome in 0-based coordinates.

fields

A subset of fields to retrieve. The default (NULL) will return all fields.

converter

A function that takes a list of variant R objects and returns them converted to the desired type.

oneBasedCoord

Convert returned addresses to 1-based address system

nullAction

either "stop" or "warn" telling how to deal with event in which request yields no variants; for "warn" we return NULL

Value

By default, the return value is a VRanges object. If a converter is passed, object(s) of the type returned by the converter will be returned by this function.

Examples

1
2
3
4
## Not run: 
getVariantCalls()

## End(Not run)

GoogleGenomics documentation built on May 2, 2019, 12:54 a.m.