check.modules: A version of the checkLM function from Morpho that plots...

View source: R/check.modules.R

check.modulesR Documentation

A version of the checkLM function from Morpho that plots specimens by module identity

Description

A version of the checkLM function from Morpho that plots specimens by module identity

Usage

check.modules(
  dat.array,
  path = NULL,
  prefix = "",
  suffix = ".ply",
  col = "white",
  pt.size = NULL,
  alpha = 1,
  begin = 1,
  render = c("w", "s"),
  point = c("s", "p"),
  add = FALSE,
  meshlist = NULL,
  Rdata = FALSE,
  module.colors = NULL,
  text.lm = FALSE
)

Arguments

lm.tibble

a tibble of landmark data

Value

The sum of x and y.

Examples

color.palette <- c( "#6a3d9a","dimgrey","#fb9a99",  "gold", "#009E73",  "#D55E00", "#CC79A7", "cyan2",  "#e31a1c", "#0072B2", "#b2df8a", "#E69F00",  "whitesmoke" ,  "deeppink",   "#a6cee3",   "#F0E442","blue","red","brown", "black")
modulecolors1<-as.factor(module_defs$posthoc.jug.sep)
levels(modulecolors1)<-color.palette
check.modules(patched,path="./ply/",suffix=".ply",pt.size=.5,render="s",module.colors = modulecolors1,begin=1)

rnfelice/SURGE documentation built on July 4, 2023, 3:39 p.m.