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