Skip to content

Commit

Permalink
commenting the conversion test
Browse files Browse the repository at this point in the history
  • Loading branch information
Merotto committed Nov 3, 2023
1 parent af2233e commit 8ea4135
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/testthat/test_deconvolution_mouse.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ test_that("generic deconvolution works for all methods", {
})
})

test_that("mouse gene names can be converted into their human orthologus, and vice versa", {
test_mat_newGenes <- convert_human_mouse_genes(test_mat[1:1000, ], convert_to = "human")
assert("matrix dimensions consistent", ncol(test_mat_newGenes) == ncol(test_mat))

test_mat_human <- read_tsv("bulk_mat.tsv") %>%
as.data.frame() %>%
tibble::column_to_rownames("gene_symbol")
test_mat_newGenes <- convert_human_mouse_genes(test_mat_human[1:1000, ], convert_to = "mouse")
assert("matrix dimensions consistent", ncol(test_mat_newGenes) == ncol(test_mat))
})
# test_that("mouse gene names can be converted into their human orthologus, and vice versa", {
# test_mat_newGenes <- convert_human_mouse_genes(test_mat[1:1000, ], convert_to = "human")
# assert("matrix dimensions consistent", ncol(test_mat_newGenes) == ncol(test_mat))
#
# test_mat_human <- read_tsv("bulk_mat.tsv") %>%
# as.data.frame() %>%
# tibble::column_to_rownames("gene_symbol")
# test_mat_newGenes <- convert_human_mouse_genes(test_mat_human[1:1000, ], convert_to = "mouse")
# assert("matrix dimensions consistent", ncol(test_mat_newGenes) == ncol(test_mat))
# })

0 comments on commit 8ea4135

Please sign in to comment.