kmr_calc_k_limit: kmr_calc_k_limit

Description Usage Arguments Value Examples

View source: R/kmr_calc_k_limit.R

Description

Calculates the k corresponding to a limit relative to the distinct number of k-mers.

Usage

1
kmr_calc_k_limit(res, limit = 0.95)

Arguments

res

a dataframe

limit

numeric between 0 and 1

Value

list k and limit values

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
if (interactive()) {

 fa <- system.file("testdata/phix174.fasta",
   package = "kmerize")
   
 k <- as.integer(seq(5, 17, 2))

 res <- kmr_response(fa, k)
 kmr_calc_k_limit(res)
 
}

c5sire/kmerize documentation built on June 7, 2020, 9:26 p.m.