rarefaction | R Documentation |
produce rarefaction plot. adapted from MetaSequencingSnake enumeration_report.Rmd
rarefaction(df)
df |
dataframe with samples in columns, features in rows |
list of ggplot rarefaction curve and associated dataframe
count_data <- cbind(matrix(rnorm(100*5,mean=50000,sd=10000), 100, 5),
matrix(rnorm(100*5,mean=20000,sd=5000), 100, 5),
matrix(rnorm(100*5,mean=5000,sd=1000), 100, 5))
rarefaction(as.data.frame(count_data))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.