Description Usage Arguments Examples
Import a single RSML file into a Plant object
1 | rsmlToPlant(rsml.path, threed = FALSE)
|
rsml.path |
The path to the .rsml file. Mandatory. |
threed |
Does the RSML file contains a 3D root system? |
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.