how to make core genome accumulation curve in r vegan
0
0
Entering edit mode
3.3 years ago
nahm • 0

Hello,

I am performing a pangenomic analysis on a set of bacterial strains and would like to plot pangenome and core genome accumulation curves using vegan in R.

For the pangenome accumulation/rarefaction curve, I used a gene presence-absence table to do the following:

library(vegan)
specaccum(matrix,"random",permutations=1000)

(and plotting the resultant object with ggplot)

enter image description here

Can someone help me make a similar curve to show a core gene accumulation/rarefaction curve?

Thanks so much for your time!

pangenome r rarefaction vegan genome • 789 views
ADD COMMENT

Login before adding your answer.

Traffic: 2119 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6