Skip to contents

Plot the output of the Seurat::FindMarkers function, as pct.2 in function of pct.1.

Usage

plot_pct(dataf, color_by = "avg_log2FC", color_palette = NULL, label = NULL)

Arguments

dataf

DATAFRAME : a dataframe, for instance the result of the Seurat::FindMarkers function (not default)

color_by

CHARACTER : a column of dataf to color points by (default to "avg_log2FC")

color_palette

VECTOR : a character vector of length 3 (low, middle and high) associated with color_by (default to a blue to red palette)

label

CHARACTER : a column of dataf to label points by (default to rownames(dataf))

Value

A ggplot2 object