tx_add_diffNucToRefRatio: Add different nucleotide reads to total ratio

View source: R/deprecated.R

tx_add_diffNucToRefRatioR Documentation

Add different nucleotide reads to total ratio

Description

[Deprecated]

tx_add_diffNucToRefRatio() was renamed to tx_add_misincRate()

Add a column to DT of the ratio of different nucleotides to the total of meaningfuk nucleotide reads not counting undetermined 'N' and inserts '.'.

Usage

tx_add_diffNucToRefRatio(DT, addDiffandTotalCols = FALSE)

Arguments

DT

data.table

addDiffandTotalCols

Set to TRUE to add counts of total nucleotides read (nucTotal) and different to reference nucleotide (diffToRef) columns.

Value

data.table

See Also

tx_add_diffNucToRef and tx_add_nucTotal


AngelCampos/txtools documentation built on Sept. 16, 2024, 10:25 p.m.