context("Read GLIPH Files")
library(LymphoSeq2)
library(tidyverse)
test_that("Reads a GLIPH files correctly", {
gtable <- LymphoSeq2::readGliph("test_data/gliph")
nsample <- gtable %>%
dplyr::pull(repertoire_id) %>%
base::unique() %>%
base::length()
nspec <- gtable %>%
dplyr::pull(spec_group) %>%
base::unique() %>%
base::length()
expect_equal(nsample, 2)
expect_equal(nspec, 20)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.