Learn R Programming

kmeRtone (version 1.0)

scoreKmers: Function calculates the Z-score for each k-mer based on the observed case counts and expected case counts under the null hypothesis.

Description

Function calculates the Z-score for each k-mer based on the observed case counts and expected case counts under the null hypothesis.

Usage

scoreKmers(kmer.table)

Value

A modified version of the input kmer.table with an additional column "z" containing the calculated Z-scores for each k-mer.

Arguments

kmer.table

A data.table containing k-mer counts, where each row represents a k-mer and columns "case" and "control" represent the counts in case and control samples respectively.