skip_if(as.logical(Sys.getenv("SKIP_NP_SERVER_TESTS")))
test_that("hemibrain_skeleton_check works", {
ids = c("203253072")
neurons = neuprint_read_neurons(ids)
expect_is(neurons.flow <- hemibrain_flow_centrality(neurons),
'neuronlist')
expect_equal(class(neurons.flow[[1]]),
c("neuprintneuron", "catmaidneuron", "neuron", "list"))
expect_length(neurons.flow[[1]][['primary.branch.point']], 1L)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.