plot_deg_scatter | R Documentation |
Create a scatter plot of the expression value for each gene in the two groups for the selected contrast. For the selected contrast, the mean expression is calculated for a gene in both group of samples in the contrast and plotted in a scatter plot.
plot_deg_scatter(
select_contrast,
comparisons,
top_genes,
limma_p_val,
limma_fc,
contrast_samples,
processed_data,
sample_info,
plot_colors,
all_gene_names,
anotate_genes = NULL
)
select_contrast |
Comparison from DEG analysis to filter for the significant genes |
comparisons |
The comparisons vector from the results list of the limma_value function |
top_genes |
top_genes list from results list of the limma_value function |
limma_p_val |
Significant p-value to use to in determining the expressed genes |
limma_fc |
Minimum fold change value to use in determining the expressed genes |
contrast_samples |
Samples that are included in the selected comparison |
processed_data |
Data matrix that has gone through pre-processing |
sample_info |
Experiment file information for grouping |
plot_colors |
List containing three colors to differentiate between the up-regulated, down-regulated, and other genes |
anotate_genes |
Genes to be anotated, coming from |
vol_data |
Volcano data used in gene annotation |
A formatted ggplot with the X-axis as the mean expression of one contrast group and the Y-axis as the mean expression of the other contrast group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.