CorrView {MAGeCKFlute}R Documentation

Visualize the correlation between two object

Description

Visualize the correlation between two object

Usage

CorrView(gg, x, y, smoothMethod = "lm", main = NULL, xlab = NULL,
  ylab = NULL, filename = NULL, width = 5, height = 4, ...)

Arguments

gg

A data frame.

x

A character, indicating column (in countSummary) of x-axis.

y

A character, indicating column (in countSummary) of y-axis.

smoothMethod

A character, indicating fill color of all bars.

main

A charater, specifying the figure title.

xlab

A character, specifying the title of x-axis.

ylab,

A character, specifying the title of y-axis.

filename

Figure file name to create on disk. Default filename="NULL", which means don't save the figure on disk.

width

As in ggsave.

height

As in ggsave.

...

Other available parameters in ggsave.

Value

An object created by ggplot, which can be assigned and further customized.

Examples

gg = data.frame(x = rnorm(50), y = rnorm(50))
CorrView(gg, x="x", y="y")


[Package MAGeCKFlute version 1.2.3 Index]