jbisanz/qiime2R

problem with beta diversity

Closed this issue · 3 comments

Hi,

I have a problem plotting beta diversity.

When I run the following command:

bray_curtis$data$Vectors %>% select(SampleID, PC1, PC2) %>% left_join(metadata) %>% left_join(shannon) %>% ggplot(aes(x=PC1, y=PC2, color=Sampling_time, shape=Sampling_site, size=shannon)) + geom_point(alpha=0.5) + #alpha controls transparency and helps when points are overlapping theme_q2r() + scale_shape_manual(values=c(16,1), name="Sampling_site") + #see http://www.sthda.com/sthda/RDoc/figure/graphs/r-plot-pch-symbols-points-in-r.png for numeric shape codes scale_size_continuous(name="Shannon Diversity") + scale_color_discrete(name="Sampling_time")

I get the following error:
Error: xandymust share the same src, setcopy= TRUE (may be slow). Runrlang::last_error() to see where the error occurred.

Could you please help me solve this issue?

Cheers,
Pablo

Is the data located on your personal computer, or are you accessing it from a remove server?

the data is located on my personal computer

This seems to be some sort of sporadic error relating to a change in (presumably) dplyr? Restarting your session and/or updating dplyr should hopefully correct the issue.