scan_allele_info {poolfstat}R Documentation

scan_allele_info

Description

Scan allele information in ALT field of a vcf

Usage

.scan_allele_info(allele_info)

Arguments

allele_info

a character string vector (ALT field of the vcf)

Details

Scan allele information in ALT field of a vcf to identify the number of alleles and if there is indels

Value

Return a vector with two elements consisting i) the number of alleles (1+number of comma) and ii) 0 or 1 if an indel is detected

Examples

.scan_allele_info(c("A,C","T","AAT"))


[Package poolfstat version 2.2.0 Index]