plot_MA_gg: Generate MA plot

Description Usage Arguments Value Examples

View source: R/p03_distribution_plot_functions.R

Description

This method generates MA plot using two numeric columns from dataframe It can also color the genes based on the colorCol variable

Usage

1
plot_MA_gg(df, s1, s2, title = NA, colorCol, pseudoCount = 0.1, ylim = NULL)

Arguments

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)

Value

a ggplot2 object which has MA plot

Examples

1

lakhanp1/chipmine documentation built on March 6, 2021, 9:06 a.m.