Description Usage Arguments Value See Also Examples
View source: R/makeVCFFromGA4GHResponse.R
Convert DataFrame
output from
searchVariants
and getVariant
functions to
VCF
class.
1 | makeVCFFromGA4GHResponse(variants)
|
variants |
|
VCF
object.
searchVariants
, getVariant
,
VCF
, DataFrame
1 2 3 4 5 6 7 8 9 10 11 | host <- "http://1kgenomes.ga4gh.org/"
## Not run:
datasetId <- searchDatasets(host, nrows = 1)$id
variantSetId <- searchVariantSets(host, datasetId, nrows = 1)$id
variants <- searchVariants(host, variantSetId, referenceName = "1",
start = 15000, end = 16000)
variants
makeVCFFromGA4GHResponse(variants)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.