getTotalDensityFillColors: Get a named vector of colors to use on total density bar...

Description Usage Arguments Value

Description

Using a tibble including at least columns for Sample,SPOT,Functional, create a named vector to be added to that tibble and used to fill bars on a chart for total density

Usage

1
2
getTotalDensityFillColors(dat, funcPosColor, funcNegColor, sampleColors,
  sampleColorsFuncPos)

Arguments

dat

tibble including at least columns for Sample,SPOT,Functional

funcPosColor

color to represent density of cells positive for a functional marker

funcNegColor

color to represent density of cells negative for a functional marker

sampleColors

vector of colors, each named according to the sample it represents

sampleColorsFuncPos

vector of colors for density of cells positive for functional marker, named according to the samples they represent

Value

vector of colors, also named by those colors


caitlinjones/halo documentation built on May 7, 2019, 8 a.m.