addMedianErrorBarValues: Add to data MAD min/max y-values for plotting median error...

Description Usage Arguments Value

View source: R/melanoma_spatial.R

Description

For each SPOT=="Median" row in tibble, add MAD of densities for all SPOTs for a specific Sample+CellType. Then add ymin and ymax values representing total median density +/- MAD

Usage

1

Arguments

dat

tibble including at least columns for Sample,CellType & Density; Also must include rows with SPOT=="Median" representing median of all spots for each Sample+CellType

Value

original tibbles with added columns for TotalDensity, mad, ymin, ymax


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