Fixed dependencies
This commit is contained in:
parent
c06943d1b4
commit
8b44947ecb
4 changed files with 6 additions and 3 deletions
|
|
@ -41,5 +41,4 @@ RoxygenNote: 7.1.1
|
||||||
Suggests:
|
Suggests:
|
||||||
testthat (>= 2.1.0)
|
testthat (>= 2.1.0)
|
||||||
Imports:
|
Imports:
|
||||||
methods,
|
methods, ape, vcfR
|
||||||
ape
|
|
||||||
|
|
|
||||||
|
|
@ -57,3 +57,4 @@ importFrom(stats,runif)
|
||||||
importFrom(stats,sd)
|
importFrom(stats,sd)
|
||||||
importFrom(utils,read.delim)
|
importFrom(utils,read.delim)
|
||||||
importFrom(utils,write.table)
|
importFrom(utils,write.table)
|
||||||
|
importFrom(vcfR,read.vcfR)
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
#' @param format Format of the data c("FASTA", "VCF" ,"SAM", or "GenePop")
|
#' @param format Format of the data c("FASTA", "VCF" ,"SAM", or "GenePop")
|
||||||
#' @param verbose if \code{TRUE}, prints extra output information
|
#' @param verbose if \code{TRUE}, prints extra output information
|
||||||
#' @importFrom utils read.delim
|
#' @importFrom utils read.delim
|
||||||
|
#' @importFrom vcfR read.vcfR
|
||||||
#' @export
|
#' @export
|
||||||
greedyMix <- function(data, format, verbose = TRUE) {
|
greedyMix <- function(data, format, verbose = TRUE) {
|
||||||
format <- tolower(format)
|
format <- tolower(format)
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,14 @@
|
||||||
\alias{greedyMix}
|
\alias{greedyMix}
|
||||||
\title{Clustering of individuals}
|
\title{Clustering of individuals}
|
||||||
\usage{
|
\usage{
|
||||||
greedyMix(data, format)
|
greedyMix(data, format, verbose = TRUE)
|
||||||
}
|
}
|
||||||
\arguments{
|
\arguments{
|
||||||
\item{data}{data file}
|
\item{data}{data file}
|
||||||
|
|
||||||
\item{format}{Format of the data c("FASTA", "VCF" ,"SAM", or "GenePop")}
|
\item{format}{Format of the data c("FASTA", "VCF" ,"SAM", or "GenePop")}
|
||||||
|
|
||||||
|
\item{verbose}{if \code{TRUE}, prints extra output information}
|
||||||
}
|
}
|
||||||
\description{
|
\description{
|
||||||
Clustering of individuals
|
Clustering of individuals
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue