tests/testthat/test_convert.R

test_that("convertTCGA() function works properly", {
    data(BRCA.rnaseq, package = "RTCGA.rnaseq")
    expect_is(convertTCGA(BRCA.rnaseq), "ExpressionSet")
    #expect_is(convertTCGA(BRCA.CNV, "CNV"), "GRanges")
    #expect_is(convertPANCAN12(expression.cb1), "ExpressionSet")
})

Try the RTCGA package in your browser

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

RTCGA documentation built on Nov. 8, 2020, 5:11 p.m.