getVariantCalls {GoogleGenomics}R Documentation

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

Description

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

Usage

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

## Not run: 
getVariantCalls()

## End(Not run)

[Package GoogleGenomics version 2.2.0 Index]