density_ct_plotter: This function plots the stat(data.frame form) of all cells,...

Description Usage Arguments

View source: R/visualization.R

Description

This function plots the stat(data.frame form) of all cells, and individual cell type densities.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
density_ct_plotter(
  dat,
  cells,
  cell_types = NA,
  stat = dat$c.dat["area"],
  xlim_top = NULL,
  xlim_bottom = NULL,
  overlay = T,
  dense_sep = T,
  plot_new = T,
  env = NULL,
  dat.name = NULL,
  abline_loc = 0
)

Arguments

dat

RD data

cells

Total group

cell_types

How to seperate the groups

stat

premade statistic in data.frame formate where row names are cell.names

xlim_top

this is the maximun xlim value to display

xlim_bottom

this is the minimun xlim value to display

overlay

will plot the density plot ontop of the cells density plot

plot_new

Will create a new window for this plot

abline_loc

where to display the added line to help display data better

dens_sep

This will plot out the densitys on seperate plots


leeleavitt/procPharm documentation built on Feb. 3, 2021, 11:43 a.m.