Entering edit mode
7.3 years ago
BioBing
▴
150
Hi all,
I was wondering if there is an easy way in "plot_pca" of the Sleuth package (R package for analyzing Kallisto output) to add percentages on x and y labels?
Thanks!
Cheers, Birgitte
plot_pca(so, pc_x=1L, pc_y = 2L, use_filtered = TRUE,
units = "tpm", text_labels=FALSE, color_by = "treat",
point_size = 7, point_alpha = 0.8) +
theme(axis.text.y=element_text(size=10),
axis.text.x = element_text(size=10),
legend.position = "bottom",
legend.text = element_text(size=10),
legend.title = element_blank()) +
scale_x_continuous(limits = c(-9000,9000)) +
scale_y_continuous(limits = c(-8000,8000))