medianRow: Create median row

Description Usage Arguments Value

View source: R/marker_combo_table.R View source: R/marker_counts.R

Description

Given a tibble with the first three columns Sample, FOV, SLICE, caclulate medians of all remaining columns and return row to be added to tibble

Usage

1
medianRow(dat, samp)

Arguments

dat

table of counts where first three columns are Sample, FOV, SLICE, and the remaining columns are marker counts or fractions

samp

sample name

Value

a row where Sample is the unique sample in input table, FOV and SLICE are NA, and the remaining values are medians of each column


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