plot_depmap_dependency: Plot gene dependency information from DepMap CRISPR and RNAi...

View source: R/plotting_depmap.R

plot_depmap_dependencyR Documentation

Plot gene dependency information from DepMap CRISPR and RNAi tables

Description

Plot gene dependency information from DepMap CRISPR and RNAi tables

Usage

plot_depmap_dependency(
  df,
  crispr.color = "#3584B5",
  rnai.color = "#52288E",
  depline = TRUE,
  plot.grid = FALSE
)

Arguments

df

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

crispr.color

Character scalar for CRISPR trace color as hexcode.

rnai.color

Character scalar for RNAi trace color as hexcode.

depline

Boolean indicating whether to show the dependency threshold line.

plot.grid

Boolean indicating whether to plot gridlines.

Value

plotly object

Author(s)

Jared Andrews

See Also

get_depmap_plot_data

Examples

library(CRISPRball)
data(depmap_22q1_crispr_rnai)
plot_depmap_dependency(depmap_22q1_crispr_rnai)

j-andrews7/CRISPRball documentation built on Nov. 8, 2024, 2:43 a.m.