-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When including categorical traits in RLQ, plotting the trait scores does not show the individual trait categories as labels, only the traits they belong to. This can be solved by using the rownames of the trait scores as labels rather than the column names of the trait table:
# Old code
dotchart(rlqF$c1[t1,1], pch=16,
labels = names(trait)[t1])
abline(v=0, lty=2)
# Suggested code
dotchart(rlqF$c1[t1,1], pch=16,
labels = rownames(rlqF$c1)[t1])
abline(v=0, lty=2)
Metadata
Metadata
Assignees
Labels
No labels