Fixed docs
This commit is contained in:
parent
882fcd4112
commit
70ec460106
5 changed files with 7 additions and 16 deletions
|
|
@ -3,11 +3,7 @@
|
|||
#' @param format Data format. Format supported: "FASTA", "VCF" ,"BAM", "GenePop"
|
||||
#' @param partitionCompare a list of partitions to compare
|
||||
#' @param ninds number of individuals
|
||||
#' @param rowsFromInd a list of rows for each individual
|
||||
#' @param noalle number of alleles
|
||||
#' @param adjprior ajuster prior probabilities
|
||||
#' @param npops number of populations
|
||||
#' @param priorTerm prior terms
|
||||
#' @param counts counts
|
||||
#' @param sumcounts sumcounts
|
||||
#' @param max_iter maximum number of iterations
|
||||
|
|
|
|||
|
|
@ -5,16 +5,17 @@
|
|||
#'
|
||||
#' @param msa Either the location of a fasta file or ape DNAbin object containing the multiple sequence alignment data to be clustered
|
||||
#' @param keep_singletons A logical indicating whether to consider singleton mutations in calculating the clusters
|
||||
#' @param output_numbers A logical indicating whether to output the data as
|
||||
#' numbers (TRUE) or letters (FALSE)
|
||||
#'
|
||||
#' @return A character matrix with filtered SNP data
|
||||
#'
|
||||
#' @examples
|
||||
#' msa <- system.file("extdata", "seqs.fa", package = "rBAPS")
|
||||
#' snp.matrix <- load_fasta(msa)
|
||||
#' snp.matrix <- rBAPS:::load_fasta(msa)
|
||||
#' @author Gerry Tonkin-Hill, Waldir Leoncio
|
||||
#' @seealso rhierbaps::load_fasta
|
||||
#' @importFrom ape read.FASTA as.DNAbin
|
||||
#' @export
|
||||
load_fasta <- function(msa, keep_singletons = FALSE, output_numbers = TRUE) {
|
||||
|
||||
# Check inputs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue