plot_depmap_lineages: Plot selected information across lineages from DepMap.

View source: R/plotting_depmap.R

plot_depmap_lineagesR Documentation

Plot selected information across lineages from DepMap.

Description

Plot selected information across lineages from DepMap.

Usage

plot_depmap_lineages(
  df,
  plot.val,
  group.by,
  lineage = NULL,
  depline = TRUE,
  label.size = 12,
  pt.size = 5,
  pt.color = "#56B4E9",
  boxplot.fill = "#E2E2E2",
  boxplot.line.color = "#000000"
)

Arguments

df

data.frame containing information for a single gene as returned by get_depmap_plot_data.

plot.val

Character scalar of column name to plot values from.

group.by

Character scalar of column name to group by.

lineage

Character scalar of lineage for which to plot sub-lineage data.

depline

Boolean indicating whether to show the dependency threshold line.

label.size

Numeric scaler for axis label size.

pt.size

Numeric scalar for point size.

pt.color

Character scalar for point color.

boxplot.fill

Character scalar for boxplot fill color.

boxplot.line.color

Character scalar for boxplot line color.

Value

plotly object

Author(s)

Jared Andrews

See Also

get_depmap_plot_data

Examples

library(CRISPRball)
data("depmap_22q1_rnai")
plot_depmap_lineages(df = depmap_22q1_rnai, plot.val = "dependency", group.by = "lineage")

j-andrews7/CRISPRball documentation built on Nov. 30, 2023, 7:34 p.m.