qploidy_read_vcf | R Documentation |
This function converts a VCF file into a format compatible with Qploidy analysis. It extracts genotype and allele depth information and formats it into a data frame.
qploidy_read_vcf(vcf_file, geno = FALSE, geno.pos = FALSE)
vcf_file |
Path to the VCF file. |
geno |
Logical. If TRUE, the output columns will include MarkerName, SampleName, geno, and prob. If FALSE, the output will include MarkerName, SampleName, X, Y, R, and ratio. |
geno.pos |
Logical. If TRUE, the output will include MarkerName, Chromosome, and Position columns. |
A data frame containing the processed VCF data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.