scan_allele_info: scan_allele_info

scan_allele_infoR 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"))


poolfstat documentation built on Sept. 8, 2023, 5:49 p.m.