rarecurve | R Documentation |
rarecurve()
will generate a visualization of the rarefaction curve showing the
associated library size.
rarecurve(x, sample = "Sample")
x |
The |
sample |
The sample ID which will be used to assign colours to different samples. Leave blank if don't want colours. |
A ggplot
object of the rarefaction curve showing the observed ASV count
according to library size of each sample.
library(mirlyn)
data(example)
## Not run:
rarefy_whole_rep_ex <- rarefy_whole_rep(example, rep = 100)
rarecuruve_ex <- rarecurve(rarefy_whole_rep_ex, sample = "Sample")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.