ourMELONS/man/greedyMix.Rd

70 lines
1.4 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,
format,
partitionCompare = NULL,
ninds = NULL,
npops = 1L,
priorTerm = NULL,
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{ninds}{number of individuals}
\item{npops}{number of populations}
\item{priorTerm}{prior terms}
\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}
\item{rowsFromInd}{a list of rows for each individual}
\item{noalle}{number of alleles}
\item{adjprior}{ajuster prior probabilities}
2020-05-20 11:22:31 +02:00
}
\description{
Clustering of individuals
}
\examples{
data <- system.file("extdata", "FASTA_clustering_haploid.fasta", package = "rBAPS")
2023-08-09 13:13:16 +02:00
greedyMix(data, "fasta")
}
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/>
}