tests/testthat/test_SE2Tidy.R

context("SE2Tidy")

library(SummarizedExperiment)
data(airway, package = "airway")

airway_df <- SE2Tidy(airway)

test_that("SE2Tidy transforms data correctly", {
  
  expect_s3_class(airway_df, "data.frame")
  expect_equal(dim(airway_df), c(8, 64112))
  
})

Try the pathwayPCA package in your browser

Any scripts or data that you put into this service are public.

pathwayPCA documentation built on Dec. 15, 2020, 6:14 p.m.