Skip to contents

Generate a knee plot A knee plot to show total number of total read counts for each gene in a given treatment group

Usage

plot_gene_ranks(data = NULL, group_by = NULL, samples = NULL, scale = TRUE)

Arguments

data

A tidyseurat object merged with metadata. Must contain columns "Well_ID", "Row", "Column".

group_by

A column that specifies the treatment group in the input data

samples

Treatment group

scale

Boolean statement for log10 transformation on both axes

Value

A ggplot object with a knee plot

Examples

data("mini_mac")
p <- plot_gene_ranks(mini_mac,group_by = "combined_id", 
samples = "Staurosporine_10", scale = TRUE)