Calculate shift scores and associated permutation test p-values.

ShiftScores(
  tss_table,
  baseline_level,
  calc_pvalue = TRUE,
  nresamp = 100L,
  nthresh = 2,
  check_sort = TRUE
)

Arguments

tss_table

Table of TSSs prepared for shifting score calculation.

baseline_level

The sample being used as the baseline for calculation.

calc_pvalue

Whether p-values should be returned for comparisons.

nresamp

Number of resamplings for permutation test.

nthresh

Minimum number of raw counts required in each TSR for both samples.

check_sort

Check that the input is sorted properly.