ConsistencyView: Visualize the estimate cell cycle compared to control.

View source: R/ConsistencyView.R

ConsistencyViewR Documentation

Visualize the estimate cell cycle compared to control.

Description

Estimate cell cycle time in different samples by linear fitting of beta scores.

Usage

ConsistencyView(
  dat,
  ctrlname,
  treatname,
  main = NULL,
  filename = NULL,
  width = 5,
  height = 4,
  ...
)

Arguments

dat

A data frame.

ctrlname

A character, specifying the names of control samples.

treatname

A character, specifying the names of treatment samples.

main

A character, specifying title.

filename

A character, specifying a file name to create on disk. Set filename to be "NULL", if don't want to save the figure.

width

Numeric, specifying width of figure.

height

Numeric, specifying height of figure.

...

Other available parameters in ggsave.

Value

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

Author(s)

Wubing Zhang

Examples

file3 = file.path(system.file("extdata", package = "MAGeCKFlute"),
"testdata/mle.gene_summary.txt")
dd = ReadBeta(file3)
ConsistencyView(dd, ctrlname = "Pmel1_Ctrl", treatname = "Pmel1")


WubingZhang/MAGeCKFlute documentation built on Jan. 27, 2024, 2:43 p.m.