fx.add_cellInfo_to_redDim_df: Add metadata about the cells (columns) to the data.frame for...

Description Usage Arguments Value

View source: R/prep_dimRedPlot_fx.R

Description

Add metadata about the cells (columns) to the data.frame for plotting

Usage

1
fx.add_cellInfo_to_redDim_df(object, df_to_plot, what_info, max_levels = NULL)

Arguments

object

SingleCellExperiment object

df_to_plot

data.frame for ggplot2-based plotting

what_info

vector of names that will be used to extract the corresponding values from object

max_levels

indicate a number if you want to limit the number of levels that any of the entries specified by what_info can have. If the number is exceeded, the entry will be dropped. Default: NULL

Value

df_to_plot with additional columns


evanbiederstedt/sandbox documentation built on May 26, 2019, 12:31 p.m.