filter_biallelic {SNPfiltR} | R Documentation |
Remove SNPs with more than two alleles
Description
This function simply removes any SNPs from the vcf file which contains more than two alleles. Many downstream applications require SNPs to be biallelic, so this filter is generally a good idea during processing.
Usage
filter_biallelic(vcfR)
Arguments
vcfR |
a vcfR object |
Value
a vcfR object with SNPs containing more than two alleles removed
Examples
filter_biallelic(vcfR = SNPfiltR::vcfR.example)
[Package SNPfiltR version 1.0.1 Index]