tests/testthat/test-options.R

test_that(
    'Linear Example', {
        load('data/linear.data.Rda');
        sample <- 'WHO003';

        text.df <- linear.test.data$node.text;

        expect_true(!is.null(
            create.test.tree(
                linear.test.data$tree,
                text.df,
                sample = sample,
                add.normal = TRUE
                )
            ));

        expect_true(!is.null(
            create.test.tree(
                linear.test.data$tree,
                text.df,
                sample = sample,
                label.nodes = FALSE,
                disable.polygons = TRUE
                )
            ));

        expect_true(!is.null(
            create.test.tree(
                linear.test.data$tree,
                text.df,
                sample = sample
                )
            ));
    });

Try the CancerEvolutionVisualization package in your browser

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

CancerEvolutionVisualization documentation built on Nov. 22, 2023, 1:08 a.m.