README.md

V1.1 DOI

v0.9 DOI

Generator of Root ANAtomy in R [GRANAR]

This package contains functions to generate and save root cross section anatomy, based on global parameters, such as the mean size of cells and number of cell layers.

# Load input
params <- read_param_xml(path = system.file("extdata", "root_monocot.xml", package = "granar"))
# Generate anatomy
root = create_anatomy(parameters = params)
# Visualize the simulation output
plot_anatomy(root)
# Write the simulation output
write_anatomy_xml(sim = root, path = system.file("extdata", "current_root.xml", package = "granar"))


granar/granar documentation built on Sept. 13, 2024, 7 a.m.