medianRow: Create median row

Description Usage Arguments Value

View source: R/halo.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


bic-mskcc/halo documentation built on Jan. 27, 2018, 12:19 a.m.