fx.set_factors: Extract factor information

Description Usage Arguments Value

View source: R/plot_drp_fx.R

Description

Extract factor information

Usage

1
2
fx.set_factors(drp_object, fctr = color_by, fctr_type = "color_by",
  ignore_drp_labels)

Arguments

drp_object

DimRedPlot object, ideally generated with

fctr

the value of the given factor, e.g. "ENSMUSG00000025920" or "condition"

fctr_type

the type of factor, i.e. the name such as "color_by", or "size_by"

ignore_drp_labels

either TRUE/FALSE or a vector of fctr_type(s) to be ignored from the drp object

Value

the string that will be used to assign the fct


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