Moved used datasets to /isnt/extdata (#25)
This commit is contained in:
parent
bb7eadd2ba
commit
687a6fb671
42 changed files with 44765 additions and 44759 deletions
|
|
@ -1,11 +1,11 @@
|
|||
context("Auxiliary functions to greedyMix")
|
||||
|
||||
# Defining the relative path to current inst -----------------------------------
|
||||
path_inst <- system.file("ext", "", package = "rBAPS")
|
||||
path_inst <- system.file("extdata", "", package = "rBAPS")
|
||||
|
||||
# Reading datasets -------------------------------------------------------------
|
||||
baps_diploid <- read.delim(
|
||||
file = paste(path_inst, "BAPS_format_clustering_diploid.txt", sep = "/"),
|
||||
file = file.path(path_inst, "BAPS_format_clustering_diploid.txt"),
|
||||
sep = " ",
|
||||
header = FALSE
|
||||
)
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ test_that("lakseKlitik() and subfunctions produce expected output", {
|
|||
})
|
||||
|
||||
test_that("testFastaData() produces same output as on MATLAB", {
|
||||
msa <- system.file("ext", "seqs.fa", package = "rBAPS")
|
||||
msa <- system.file("extdata", "seqs.fa", package = "rBAPS")
|
||||
test_msa <- testFastaData(msa)
|
||||
expect_equal(test_msa$ninds, 515)
|
||||
expect_equal(dim(test_msa$data), c(515, 745))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue