ShiftScores-function: Shift Score

Description Usage Arguments

Description

Calculate shift scores and associated permutation test p-values.

Usage

1
2
3
4
5
6
7
8
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.


rpolicastro/tsrexplorer documentation built on Oct. 17, 2021, 3:02 p.m.