sp_rda | R Documentation |
Generate RDA plot with species table and env table
sp_rda(
otu_table,
env_table,
metadata,
sample_min_reads_count = 10000,
rare_otu_count = 5,
otu_scale_method = "hellinger"
)
otu_table |
Normalized OTU/Species abundance data frame or data file (with header line, the first column will be treated as the row names, tab separated) |
env_table |
Environment factor data frame or data file (with header line, the first column will be treated as the row names, tab separated) |
metadata |
Metadata file (or data.frame) with sample attributes like group information.
The first column is the same as the first row of value given to parameter |
sample_min_reads_count |
The minimum allowed sample reads count. Default 10000 meaning samples with total reads count less than 10000 would be filtered. |
rare_otu_count |
Definite rare OTU. OTU with abundance in all samples less than given value would be filtered. |
otu_scale_method |
Popular (and effective) standardization methods for community ecologists like total, max, frequency, normalize, range, rank, rrank, standardize, hellinger, chi.square, rclr, log, clr, alr. |
... |
Parameters given to |
A ggplot2 object
## Not run:
input <- "KO-OE_all.txt"
volcano_plot(input,log2fc_var='Log2FoldChange',fdr_var='Padj',status_col_var='',
title="sd",label="Label",log10_transform_fdr=TRUE,point_size=5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.