tests/testthat/test-cross_species.R

context("species comparison")

test_that("gene symbols converted between species", {
    src_genes <- rownames(baron2016singlecell$gene)

    human_conversion <- convert_symbols_by_species(src_genes, "mouse")

    mouse_conversion <- convert_symbols_by_species(human_conversion, "human")

    expect_equal(src_genes, src_genes)
})
whtns/seuratTools documentation built on Oct. 28, 2024, 7:18 a.m.