View source: R/filter_vcf_samples.R
filter_vcf_query_samples | R Documentation |
Only include certain samples in a VCF query.
If at least one sample is supplied, returns
a ScanVcfParam.
Otherwise, returns the original GRanges object
(gr
).
filter_vcf_query_samples(gr, samples = character(), verbose = TRUE)
gr |
A GRanges object generated by construct_query. |
samples |
[Optional] Sample names to subset the VCF by. If this option is used, the GRanges object will be converted to a ScanVcfParam for usage by readVcf. |
verbose |
Print messages. |
GRanges or ScanVcfParam object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.