getTotalDensityPlots: Build bar plot for total cell type density

Description Usage Arguments Value

Description

Build bar plot for total cell type density

Usage

1
2
3
4
getTotalDensityPlots(dat, markerList, plotPer = "markerSet",
  funcMarker = NULL, funcPosColor = "grey35", funcNegColor = "grey50",
  sampleColor = "#f16913", sampleColorDark = "#80380A",
  consistentYScaling = TRUE)

Arguments

dat

tibble containing all info needed for plotting [ TO DO: FILL IN EXACTLY WHAT'S NEEDED ]

plotPer

generate plot per ['markerSet'|'marker'|'sample'|'sample+marker]; default='markerSet'

funcMarker

marker to be indicated as either positive or negative for each cell type

funcPosColor

hex color indicating functional marker is positive in that cell type

funcNegColor

hex color indicating functional marker is negative in that cell type

sampleColor

vector of colors named by the sample which it will represent; this color will only appear on the median bars

sampleColorDark

vector of colors named by sample, to represent density of cells that are positive for the functional marker, if one is given

consistentYScaling

logical; when onePanel=FALSE, set this parameter to FALSE in order to scale separate plots individually; default=TRUE

Value

list of ggplots to be printed


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