Import a single RSML file into a Plant object

Description

Import a single RSML file into a Plant object

Usage

1
rsmlToPlant(rsml.path, threed = FALSE)

Arguments

rsml.path

The path to the .rsml file. Mandatory.

threed

Does the RSML file contains a 3D root system?

Examples

1
2
3
4
5
6
7
8
9
# 2D example
path <- "http://rootsystemml.github.io/images/examples/arabidopsis-simple.rsml"
pl <- rsmlToPlant(path) # import the file as a 2D plant
plot(pl) # plot the plant

# 3D example
path <- "http://rootsystemml.github.io/images/examples/anagallis.rsml"
pl <- rsmlToPlant(path, threed=TRUE) # import the file as a 2D plant
plot(pl, threed=TRUE) # plot the plant

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.