https://github.com/ctlab/phantasus
Raw File
Tip revision: 74a0eb7154371c83f9a7881ddd136eff08523754 authored by Alexey Sergushichev on 30 January 2020, 16:08:00 UTC
Remove dependency on Matrix.utils fix #152
Tip revision: 74a0eb7
testcreateES.R
context("Create ExpressionSet")
library(Biobase)

test_that("createES finishes with result", {
  load(file = system.file("testdata/GSE27112-GPL6103.rda", package="phantasus"))
  expect_is(createES(data = exprs(es), pData = pData(es),
                     fData = fData(es),
                     eData = list(name="", lab="", contact="", title="", url="", other=list(), pubMedIds=""),
                     varLabels = varLabels(es),
                     fvarLabels = fvarLabels(es)), "ExpressionSet")
})
back to top