add_SRD: Add Start Ratio Difference

View source: R/metrics.R

add_SRDR Documentation

Add Start Ratio Difference

Description

Calculates the start ratio difference of group_A minus that of group_B per set of samples in a STORM object.

Usage

add_SRD(
  STORM,
  group_A,
  group_B,
  newColName = "auto",
  onNucs = c("A", "C", "G", "T"),
  minCov = 50
)

Arguments

STORM

list. STORM object as output by storm_STORM

group_A

character. Name of group to be compared as found in STORM$META$group

group_B

character. Name of group to be compared as found in STORM$META$group

newColName

character. Name of calculated metric to be stored in STORM$RES, assigned by default based on group_A and group_B

onNucs

character. Nucleotide(s) in which the metric will be calculated

minCov

integer. Minimal coverage in position for metric to be calculated


SchwartzLab/brainSTORM documentation built on May 14, 2022, 5:14 p.m.