Skip to content

Commit

Permalink
tests update
Browse files Browse the repository at this point in the history
  • Loading branch information
jgranja-cartographybio committed Jul 19, 2022
1 parent 606e699 commit 56025dd
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 9 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion man/addCoAccessibility.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/addGeneScoreMatrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/addIterativeLSI.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/addMotifAnnotations.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/createArrowFiles.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/getPeak2GeneLinks.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/plotPeak2GeneHeatmap.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ matches <- getMatches(proj)
stopifnot(all(paste0(rowRanges(se))==paste0(rowRanges(matches))))

#Background Peaks
se2 <- SummarizedExperiment(assays=SimpleList(counts=cbind(rowSums(assay(se)), 1)))
se2 <- SummarizedExperiment(assays=SimpleList(counts=cbind(Matrix::rowSums(assay(se)), 1)))
rowRanges(se2) <- rowRanges(se)
bgdPeaks <- getBackgroundPeaks(se2)

Expand Down Expand Up @@ -91,3 +91,16 @@ test_that("Testing ArchR ChromVAR", {
expect_equal(all(corZ_23 > 0.99), TRUE)
})

################################################
# Clear
################################################

files <- list.files()
files <- files[!grepl("\\.R", files)]
for(i in seq_along(files)){
if(dir.exists(files[i])){
unlink(files[i], recursive=TRUE)
}else if(file.exists(files[i])){
file.remove(files[i])
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 56025dd

Please sign in to comment.