kmer_count_modify_raw {findGSEP}R Documentation

Modify Raw K-mer Frequency Before Fitting

Description

This function modifies the raw k-mer frequency before fitting, adjusting either the left or right part based on the peak position.

Usage

kmer_count_modify_raw(start, end, left_right, histx)

Arguments

start

An integer indicating the starting position (does not include the peak position).

end

An integer indicating the ending position (does not include the peak position).

left_right

An integer indicating whether to modify the left part (0) or the right part (1).

histx

A data frame representing the raw k-mer histogram.

Value

A modified data frame with adjusted raw k-mer frequencies.

Examples

histx <- data.frame(V1 = 1:10, V2 = c(100, 200, 300, 400, 500, 400, 300, 200, 100, 50))
histx_new <- kmer_count_modify_raw(3, 7, 0, histx)


[Package findGSEP version 1.2.0 Index]