Description Usage Arguments Value Examples
View source: R/p03_distribution_plot_functions.R
This method generates MA plot using two numeric columns from dataframe It can also color the genes based on the colorCol variable
1 |
df |
dataframe with values two columns for which MA plot is to be generated |
s1 |
sample 1 column name |
s2 |
sample 2 column name |
title |
title to be showed on plot |
colorCol |
column name which should be used for coloring the points |
pseudoCount |
A small number to be added to the values to avoid log(0) error. Default: 0.1 |
ylim |
A two element numeric vector for Y-limits of MA plot. Default: c(-4, 4) |
a ggplot2 object which has MA plot
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.