View source: R/plotPairedCorr.R
plotPairedCor | R Documentation |
Correlate abundance of features between paired samples
plotPairedCor(
dataset = NULL,
ids,
compare,
fts = NULL,
rank = NULL,
invert = F,
rthresh = 0.7,
alpha = 0.05,
padj = T,
showstats = T
)
dataset |
MicroVis dataset. Defaults to the active dataset |
ids |
Column(s) that uniquely identify each pair of samples |
compare |
Column with the 2 groups to correlate between. Each pair of samples has a sample in each of the two groups in this column. If there are more than 2 groups in the column, user will be asked to select 2 to compare |
fts |
Vector of features to correlate between the two sets |
rank |
Taxonomic rank at which to perform the paired correlation. Defaults to the second highest rank in the dataset |
invert |
Switch the x and y axes? |
rthresh |
R value cutoff for coloring the figures of each figure. Defaults to 0.7 |
alpha |
Significance threshold. Defaults to 0.05 |
padj |
Adjust the p-values for multiple testing? Defaults to TRUE |
showstats |
Whether or not to show R and p-value. Defaults to TRUE |
Scatter plot with trendline
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.