Skip to content
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

Closed
LiXiHan26 opened this issue Mar 7, 2024 · 2 comments
Closed

Comments

@LiXiHan26
Copy link

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}^15
N~'\u2030'),
cex = 0.5)

@AndrewLJackson
Copy link
Owner

AndrewLJackson commented Mar 7, 2024 via email

@LiXiHan26
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants