R/show_cellcontour.R
show_cellcontour.Rd
Add cell contour visualisation to a plotly graph of type mesh3d
show_cellcontour(p, mesh)
p | A plotly graph created with plotlyMesh(). |
---|---|
mesh | The mesh used to create this plotly graph. |
a plotly graph
# NOT RUN { myMesh <- readRDS(system.file("extdata", "mgx/2013-02-12_LTi6B_dis_A_T0_cells_minW1_normalMesh_full.rds", package = "cellviz3d")) myCellGraph <- readRDS(system.file("extdata", "mgx/2013-02-12_LTi6B_dis_A_T0_cells_minW1_cellGraph_full.rds", package = "cellviz3d")) # With a uniform mesh color: p <- plotlyMesh(meshExample = myMesh, meshCellcenter = meshCellcenter) %>% layout(scene = list(aspectmode = "data")) show_cellcontour(p, myMesh) # }