tests/testthat/helper-testingFunctions.R

getdata <- function(dir, name) {
	readRDS(paste("testdata/", dir, "/", name, ".rds", sep = "")) # could move testdata 1 dir lvl up nstead
}

# shortcut get the combined contigs that are used in most testcases
getCombined <- function() {
	getdata("combineContigs", "combined")
}
ncborcherding/scRepertoire documentation built on Jan. 4, 2025, 3:23 a.m.