show_cellcontour: Add cell contour visualisation to a plotly graph of type...

Description Usage Arguments Value Examples

View source: R/show_cellcontour.R

Description

Add cell contour visualisation to a plotly graph of type mesh3d

Usage

1

Arguments

p

A plotly graph created with plotlyMesh().

mesh

The mesh used to create this plotly graph.

Value

a plotly graph

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## 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)

## End(Not run)

marionlouveaux/cellviz3d documentation built on May 20, 2019, 9:55 a.m.