-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I identify which community each color ellipse corresponds to? #103
Comments
Hi
There are several vignette examples in the package documentation that illustrate how to link groups to the plotted ellipses, including a ggplot example that is probably most intuitive and least risk of making a mistake
Best wishes
Andrew
…--
Dr Andrew Jackson, PhD, FTCD
Director Biology and Biomedical Sciences degree TR060
Associate Professor - Zoology
Irish Research Council Laureate
School of Natural Sciences, Department of Zoology
Trinity College Dublin, the University of Dublin
Dublin 2, Ireland.
***@***.***
http://www.tcd.ie/Zoology/research/<http://www.tcd.ie/Zoology/research/groups/jackson/>groups/jackson/
From: L1x1han ***@***.***>
Date: Thursday, 7 March 2024 at 09:46
To: AndrewLJackson/SIBER ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [AndrewLJackson/SIBER] How do I identify which community each color ellipse corresponds to? (Issue #103)
Hello developers, I encountered this problem recently when I was learning to use this software. I divided Groups and communities into 6 groups. After drawing the picture, I don’t know how to distinguish which community each ellipse corresponds to. , please tell me how I can distinguish them. If possible, I can distinguish them and add a legend or change the color for each different group.
The following is my code. Because I am a beginner and I don’t understand many parts, please help me solve it. Thank you! !
siber.example <- createSiberObject(DCniche)
siber.example[["sample.sizes"]][is.na(siber.example[["sample.sizes"]])] <- 0
community.hulls.args <- list(col = 1, lty = 1, lwd = 1)
group.ellipses.args <- list(n = 100, p.interval = 0.95, lty = 2, lwd = 3)
group.hull.args <- list(lty = 2, col = "black")
plotSiberObject(siber.example,
ax.pad = 0.05, ###x/y axis
hulls = F, community.hulls.args,
ellipses = F, group.ellipses.args,
group.hulls = T, group.hull.args,
bty = "L",
iso.order = c(1,2),
xlab=expression({delta}^13C~'\u2030'),
ylab=expression({delta}^15N~'\u2030'),
cex = 0.5)
—
Reply to this email directly, view it on GitHub<#103>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAZLLMHQIC3I6KZ2EWIMSNDYXAZOXAVCNFSM6AAAAABEKUYGUGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TGNBTGI3TIMA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Thank you for your answer, I will take a look at the document content again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello developers, I encountered this problem recently when I was learning to use this software. I divided Groups and communities into 6 groups. After drawing the picture, I don’t know how to distinguish which community each ellipse corresponds to. , please tell me how I can distinguish them. If possible, I can distinguish them and add a legend or change the color for each different group.
The following is my code. Because I am a beginner and I don’t understand many parts, please help me solve it. Thank you! !
siber.example <- createSiberObject(DCniche)
siber.example[["sample.sizes"]][is.na(siber.example[["sample.sizes"]])] <- 0
community.hulls.args <- list(col = 1, lty = 1, lwd = 1)
group.ellipses.args <- list(n = 100, p.interval = 0.95, lty = 2, lwd = 3)
group.hull.args <- list(lty = 2, col = "black")
plotSiberObject(siber.example,
ax.pad = 0.05, ###x/y axis
hulls = F, community.hulls.args,
ellipses = F, group.ellipses.args,
group.hulls = T, group.hull.args,
bty = "L",
iso.order = c(1,2),
xlab=expression({delta}^13C~'\u2030'),
ylab=expression({delta}^15N~'\u2030'),
cex = 0.5)
The text was updated successfully, but these errors were encountered: