R/plotSoilRelationChordGraph.R
plotSoilRelationChordGraph.Rd
Visualize Soil Relationships via Chord Diagram
plotSoilRelationChordGraph(
m,
s,
mult = 2,
base.color = "grey",
highlight.colors = c("RoyalBlue", "DarkOrange", "DarkGreen"),
add.legend = TRUE,
...
)
an adjacency matrix, no NA
allowed
soil of interest, must exist in the column or row names of m
multiplier used to re-scale data in m
associated with s
color for all soils other than s
and 1st and 2nd most commonly co-occurring soils
vector of 3 colors: soil of interest, 1st most common, 2nd most common
logical
, add a legend
additional arguments passed to circlize::chordDiagramFromMatrix
nothing, function is called to generate graphical output
This function is experimental. Documentation pending. See http://jokergoo.github.io/circlize/ for ideas.