extract_individuals_vcf | R Documentation |
Function that returns the individuals present in a vcf file. Useful to create a strata file or to make sure you have the right individuals in your VCF.
extract_individuals_vcf(vcf)
vcf |
(character, path) The path to the vcf file. |
A tibble with a column: INDIVIDUALS
.
Thierry Gosselin thierrygosselin@icloud.com
radiator read_strata
## Not run:
# Built a strata file:
strata <- radiator::extract_individuals_vcf("my.vcf") %>%
dplyr::mutate(STRATA = "fill this") %>%
readr::write_tsv(x = ., file = "my.new.vcf.strata.tsv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.