scoreKmers: Function calculates the Z-score for each k-mer based on the...

View source: R/scoreKmers.R

scoreKmersR Documentation

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)

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.

Value

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


kmeRtone documentation built on Sept. 11, 2024, 9:12 p.m.