powered by
Loads a fasta file into matrix format ready for running the hierBAPS algorithm.
load_fasta(msa, keep.singletons = FALSE)
A character matrix with filtered SNP data
Either the location of a fasta file or ape DNAbin object containing the multiple sequence alignment data to be clustered
A logical indicating whether to consider singleton mutations in calculating the clusters
msa <- system.file("extdata", "seqs.fa", package = "rhierbaps") snp.matrix <- load_fasta(msa)
Run the code above in your browser using DataLab