Skip to content

Commit 16ad1d4

Browse files
committed
Added patch for PANDA test
1 parent 03539d8 commit 16ad1d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/testthat/test-panda.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ test_that("panda function works", {
2727
# test 5: check if PANDA result is correct when arguments setting like below:
2828
# i.e computing = "cpu", save_memory =T , precision="single", save_memory = T, save_tmp=F, keep_expression_matrix = T, modeProcess = 'intersection'
2929
test2Panda <- pandaPy(T4_expression_file_path, motif_file_path,ppi_file_path,precision = "single", save_memory = T, save_tmp = F,keep_expression_matrix = TRUE, modeProcess = "intersection" )$WAMpanda
30+
test2Panda_mat <- as.matrix(test2Panda)
3031
expect_equal(test2Panda[1,1],2.229422, tolerance=1e-5)
3132

3233
# test 6: when processMode = legacy, remove_missing=FALSE

0 commit comments

Comments
 (0)