ourMELONS/man/load_fasta.Rd

34 lines
929 B
Text
Raw Normal View History

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_fasta.R
\name{load_fasta}
\alias{load_fasta}
\title{load_fasta}
\usage{
load_fasta(msa, keep_singletons = FALSE, output_numbers = TRUE)
}
\arguments{
\item{msa}{Either the location of a fasta file or ape DNAbin object containing the multiple sequence alignment data to be clustered}
\item{keep_singletons}{A logical indicating whether to consider singleton mutations in calculating the clusters}
2023-09-11 13:13:55 +02:00
\item{output_numbers}{A logical indicating whether to output the data as
numbers (TRUE) or letters (FALSE)}
}
\value{
A character matrix with filtered SNP data
}
\description{
Loads a fasta file into matrix format ready for
running the hierBAPS algorithm.
}
\examples{
msa <- system.file("extdata", "seqs.fa", package = "rBAPS")
2023-09-11 13:13:55 +02:00
snp.matrix <- rBAPS:::load_fasta(msa)
}
\seealso{
rhierbaps::load_fasta
}
\author{
2021-09-03 09:09:09 +02:00
Gerry Tonkin-Hill, Waldir Leoncio
}