ConsistencyView: Visualize the estimate cell cycle compared to control.

Description Usage Arguments Value Author(s) Examples

View source: R/ConsistencyView.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
ConsistencyView(
  beta,
  ctrlname,
  treatname,
  main = NULL,
  filename = NULL,
  width = 5,
  height = 4,
  ...
)

Arguments

beta

Data frame, which has columns of ctrlname and other samples.

ctrlname

A character, specifying the names of control samples.

treatname

A character, specifying the name of treatment samples.

main

As in 'plot'.

filename

Figure file name to create on disk. Default filename="NULL", which means no output.

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.

Author(s)

Wubing Zhang

Examples

1
2
3
4
file3 = file.path(system.file("extdata", package = "MAGeCKFlute"),
"testdata/mle.gene_summary.txt")
dd = ReadBeta(file3)
ConsistencyView(dd, ctrlname = "dmso", treatname = "plx")

MAGeCKFlute documentation built on Nov. 8, 2020, 5:40 p.m.