You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Labels can be shortened via the three arguments shortenLabels, labelLength, and labelPattern.
You have three options:
Setting shortenLabels to FALSE does not shorten the labels at all.
Setting shortenLabels to "simple" in combination with labelLength = x cuts the labels after x characters (duplicates may occur).
Setting 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.
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.
The text was updated successfully, but these errors were encountered: