ourMELONS/man/greedyMix.Rd

60 lines
1.3 KiB
Text
Raw Normal View History

2020-05-20 11:22:31 +02:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/greedyMix.R
\name{greedyMix}
\alias{greedyMix}
\title{Clustering of individuals}
\usage{
greedyMix(
data,
2023-09-14 12:53:34 +02:00
format = gsub("^.*\\\\.", "", data),
partitionCompare = NULL,
npops = 1L,
counts = NULL,
sumcounts = NULL,
max_iter = 100L,
alleleCodes = NULL,
inp = NULL,
popnames = NULL,
fixedK = FALSE,
verbose = FALSE
)
2020-05-20 11:22:31 +02:00
}
\arguments{
\item{data}{data file}
\item{format}{Data format. Format supported: "FASTA", "VCF" ,"BAM", "GenePop"}
2021-09-03 11:17:00 +02:00
\item{partitionCompare}{a list of partitions to compare}
\item{npops}{number of populations}
\item{counts}{counts}
\item{sumcounts}{sumcounts}
\item{max_iter}{maximum number of iterations}
\item{alleleCodes}{allele codes}
\item{inp}{input file}
\item{popnames}{population names}
\item{fixedK}{if \code{TRUE}, the number of populations is fixed}
2021-09-03 11:17:00 +02:00
\item{verbose}{if \code{TRUE}, prints extra output information}
2020-05-20 11:22:31 +02:00
}
\description{
Clustering of individuals
}
\examples{
\dontrun{ # TEMP: unwrap once #24 is resolved
data <- system.file("extdata", "BAPS_format_clustering_diploid.txt", package = "rBAPS")
greedyMix(data, "baps")
} # TEMP: unwrap once #24 is resolved
}
2021-09-03 12:50:11 +02:00
\references{
Samtools: a suite of programs for interacting
with high-throughput sequencing data. <http://www.htslib.org/>
}