recolor_points: Quick point-recolorizer given an existing plot, df, list of...

View source: R/plot_point.R

recolor_pointsR Documentation

Quick point-recolorizer given an existing plot, df, list of rownames to recolor, and a color.

Description

This function should make it easy to color a family of genes in any of the point plots.

Usage

recolor_points(plot, df, ids, color = "red", ...)

Arguments

plot

Geom_point based plot

df

Data frame used to create the plot

ids

Set of ids which must be in the rownames of df to recolor

color

Chosen color for the new points.

...

Extra arguments are passed to arglist.

Value

prettier plot.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.