add_DR: Add deletion rate

View source: R/metrics.R

add_DRR Documentation

Add deletion rate

Description

Adds the deletion to nucleotide reads ratio

Usage

add_DR(
  STORM,
  group_A,
  newColName = "auto",
  onNucs = c("A", "C", "G", "T"),
  minReadCounts = 30
)

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

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

minReadCounts

integer. Minimal number of nucleotide reads (NOT coverage) in position for metric to be calculated


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