View source: R/findGSE_v1.95_new.R
kmer_count_modify_raw | R Documentation |
This function modifies the raw k-mer frequency before fitting, adjusting either the left or right part based on the peak position.
kmer_count_modify_raw(start, end, left_right, histx)
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. |
A modified data frame with adjusted raw k-mer frequencies.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.