-
What is the parameter in order to label the points inside the graph itself? It's hard to distinguish colors when there are too many data points. Adding "label = TRUE" seems not to be the right way to do it.
|
Beta Was this translation helpful? Give feedback.
Answered by
jgriss
Feb 23, 2021
Replies: 1 comment
-
Hi @levinhein, Thanks a lot for your interest in ReactomeGSA! You can do this quite easily using standard # After you received your GSVA result
plot_gsva_pca(gsva_result) +
geom_text(aes(label=sample),
nudge_x = 0.005,
nudge_y = 0.005,
check_overlap = T) You'll probably have to adapt Kind regards, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jgriss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @levinhein,
Thanks a lot for your interest in ReactomeGSA!
You can do this quite easily using standard
ggplot2
functions. The following code adds labels on top of the points:You'll probably have to adapt
nudge_x
andnudge_y
to your result since it's based on the arbitrary PCA units.Kind regards,
Johannes