Unwrapped `greedyMix() example (#24)
This commit is contained in:
parent
d861ffb551
commit
6e08c35f13
3 changed files with 3 additions and 7 deletions
|
|
@ -36,7 +36,7 @@ Description: Partial R implementation of the BAPS software
|
|||
License: GPL-3
|
||||
BugReports: https://github.com/ocbe-uio/rBAPS/issues
|
||||
Encoding: UTF-8
|
||||
RoxygenNote: 7.3.1
|
||||
RoxygenNote: 7.3.2
|
||||
Suggests:
|
||||
testthat (>= 2.1.0)
|
||||
Imports:
|
||||
|
|
|
|||
|
|
@ -19,10 +19,8 @@
|
|||
#' with high-throughput sequencing data. <http://www.htslib.org/>
|
||||
#' @export
|
||||
#' @examples
|
||||
#' \dontrun{ # TEMP: unwrap once #24 is resolved
|
||||
#' data <- system.file("extdata", "BAPS_format_clustering_diploid.txt", package = "rBAPS")
|
||||
#' data <- system.file("extdata", "BAPS_clustering_diploid.txt", package = "rBAPS")
|
||||
#' greedyMix(data, "baps")
|
||||
#' } # TEMP: unwrap once #24 is resolved
|
||||
greedyMix <- function(
|
||||
data, format = gsub("^.*\\.", "", data), partitionCompare = NULL, npops = 3L,
|
||||
counts = NULL, sumcounts = NULL, max_iter = 100L, alleleCodes = NULL,
|
||||
|
|
|
|||
|
|
@ -48,10 +48,8 @@ greedyMix(
|
|||
Clustering of individuals
|
||||
}
|
||||
\examples{
|
||||
\dontrun{ # TEMP: unwrap once #24 is resolved
|
||||
data <- system.file("extdata", "BAPS_format_clustering_diploid.txt", package = "rBAPS")
|
||||
data <- system.file("extdata", "BAPS_clustering_diploid.txt", package = "rBAPS")
|
||||
greedyMix(data, "baps")
|
||||
} # TEMP: unwrap once #24 is resolved
|
||||
}
|
||||
\references{
|
||||
Samtools: a suite of programs for interacting
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue