variation.within.cell.line: Variation within cell line

Description Usage Arguments Value Examples

Description

Generate a plot comparing the LFC values of each shRNA of a given gene within a chosen cell line.

Usage

1
variation.within.cell.line(object, cancerID, geneName, type = "all", ...)

Arguments

object

An RNAi object.

cancerID

a character string indicating the cell line of interest (partial string matching is sufficient).

geneName

A character string giving the name of the gene in question, e.g. "MDM4".

type

The style of plot one wishes to show, can be one of "all" or "median".

...

Any other additions to the ggplot. One can change the theme, plot name, etc. as desired.

Value

A ggplot object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data("Achilles2.4_Data")
data("Achilles2.4_annotation")

RNAiObject <- new(Class = "RNAi", genes = Achilles2.4_Data$Gene,
                  sequences = Achilles2.4_Data$Name,
                  cancers = colnames(Achilles2.4_Data)[-(1:2)],
                  cancersP53 = Achilles2.4_annotation,
                  values = Achilles2.4_Data[,-(1:2)])

variation.within.cell.line(object = RNAiObject, cancerID = "SLR24", geneName = "MDM4", type = "all")

yavorska/AchillesPackage documentation built on May 4, 2019, 2:31 p.m.