Closed ranfoxall closed 2 years ago
Hey @ranfoxall,
Labels can be shortened via the three arguments shortenLabels
, labelLength
, and labelPattern
.
You have three options:
shortenLabels
to FALSE
does not shorten the labels at all.shortenLabels
to "simple"
in combination with labelLength = x
cuts the labels after x characters (duplicates may occur).shortenLabels
to "intelligent"
in combination with labelLength
and labelPattern
shortens the labels to a desired length by avoiding duplicates. Default is shortenLabels = "simple"
and labelLength = 6L
, which explains the behavior in your case.
Please see the help page (?plot.microNetProps
) for further details.
Best, Stefanie
Thanks so much Stefanie!
Hi Stefpeschel, I've been making a lot of progress comparing networks using NetCoMI based on covariates and am trying to prepare figures showing results from my network analyses. One problem I'm stuck on is how to enable longer node names on the plots from function "netAnalyze". The ASV (or taxa) names are truncated to 6 positions so I have manny duplicate names. When I plot my differential networks (diffnet) I do not run into the same issue, the full ASV name is printed and not truncated to 6 positions. I tried changing the font size but that did not fix the problem.