Skip to contents

Plot multi-screen profile from fgsea results

Usage

plot_multi_screen_profile(
  data,
  color_by = NULL,
  size_by = "logPadj",
  label_angle = 90
)

Arguments

data

A tidyseurat object with screen_profile in the @tools slot.

color_by

A string specifying which column in screen_profile to use for color (default: automatically chosen).

size_by

A string specifying which column in screen_profile to use for point size (default: log10(padj)).

label_angle

Angle of x-axis labels (default: 90).

Value

A ggplot object

Examples

data(mini_mac)
mini_mac <- compute_multi_screen_profile(mini_mac, target = "Staurosporine_10")
plot_multi_screen_profile(mini_mac, color_by = "Sample_type")