From 8b44947ecb5e3f8c4adea6512b6cf4ab2569d679 Mon Sep 17 00:00:00 2001 From: Waldir Leoncio Date: Fri, 3 Sep 2021 11:17:00 +0200 Subject: [PATCH] Fixed dependencies --- DESCRIPTION | 3 +-- NAMESPACE | 1 + R/greedyMix.R | 1 + man/greedyMix.Rd | 4 +++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 95b18a4..7bfff51 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -41,5 +41,4 @@ RoxygenNote: 7.1.1 Suggests: testthat (>= 2.1.0) Imports: - methods, - ape + methods, ape, vcfR diff --git a/NAMESPACE b/NAMESPACE index b26f046..8bb2029 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -57,3 +57,4 @@ importFrom(stats,runif) importFrom(stats,sd) importFrom(utils,read.delim) importFrom(utils,write.table) +importFrom(vcfR,read.vcfR) diff --git a/R/greedyMix.R b/R/greedyMix.R index 75e7bc2..cbd32b3 100644 --- a/R/greedyMix.R +++ b/R/greedyMix.R @@ -3,6 +3,7 @@ #' @param format Format of the data c("FASTA", "VCF" ,"SAM", or "GenePop") #' @param verbose if \code{TRUE}, prints extra output information #' @importFrom utils read.delim +#' @importFrom vcfR read.vcfR #' @export greedyMix <- function(data, format, verbose = TRUE) { format <- tolower(format) diff --git a/man/greedyMix.Rd b/man/greedyMix.Rd index 7117437..3d5fc15 100644 --- a/man/greedyMix.Rd +++ b/man/greedyMix.Rd @@ -4,12 +4,14 @@ \alias{greedyMix} \title{Clustering of individuals} \usage{ -greedyMix(data, format) +greedyMix(data, format, verbose = TRUE) } \arguments{ \item{data}{data file} \item{format}{Format of the data c("FASTA", "VCF" ,"SAM", or "GenePop")} + +\item{verbose}{if \code{TRUE}, prints extra output information} } \description{ Clustering of individuals