kebabs
Bioc currentKernel-Based Analysis of Biological Sequences
Release Lineage
Entered 3.0 · Oct 14, 2014
Current · Requires R 4.6
Description
The package provides functionality for kernel-based analysis of DNA, RNA, and amino acid sequences via SVM-based methods. As core functionality, kebabs implements following sequence kernels: spectrum kernel, mismatch kernel, gappy pair kernel, and motif kernel. Apart from an efficient implementation of standard position-independent functionality, the kernels are extended in a novel way to take the position of patterns into account for the similarity measure. Because of the flexibility of the kernel formulation, other kernels like the weighted degree kernel or the shifted weighted degree kernel with constant weighting of positions are included as special cases. An annotation-specific variant of the kernels uses annotation information placed along the sequence together with the patterns in the sequence. The package allows for the generation of a kernel matrix or an explicit feature representation in dense or sparse format for all available kernels which can be used with methods implemented in other R packages. With focus on SVM-based methods, kebabs provides a framework which simplifies the usage of existing SVM implementations in kernlab, e1071, and LiblineaR. Binary and multi-class classification as well as regression tasks can be used in a unified way without having to deal with the different functions, parameters, and formats of the selected SVM. As support for choosing hyperparameters, the package provides cross validation - including grouped cross validation, grid search and model selection functions. For easier biological interpretation of the results, the package computes feature weights for all SVMs and prediction profiles which show the contribution of individual sequence positions to the prediction result and indicate the relevance of sequence sections for the learning result and the underlying biological functions.
None published for Bioconductor
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
346 25 exported
Complexity
16.9 avg / 144 max
Call network
346 nodes / 523 edges
Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
56,567
Files
143
Compiled share
43.6%
Has compiled src
Yes
Language breakdown
API
Exported functions
30
Internal functions
102
Testing
Has tests
No
Test-to-code ratio
0.00
testthat edition
–
Docs
Roxygen coverage
100%
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
100%
Unsafe pattern score
0
Dep constraint coverage
35.7%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.3.0
System requirements
–
C++ standard
–
License
GPL (>= 2.1)
License flags
not SPDX, not OSI
History
Versions
24
First release
2015-03-03
Latest release
2026-09-17
Avg cadence
183 days
Cold removal rate
–
Dep drift
5
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.
Documentation
- Help pages
- 52
- Examples that run
- 100%34 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 100%
- fixed bug in model selection that led to an error with new version of LiblineaR
- various improvements of package vignette
From inst/NEWS in the release
Repository practices
Checks run against github.com/ubod/kebabs on 2026-10-25.
No development-tooling practices detected in the upstream repository.
Datasets
Topics
Depended on by (3)
Bioconductor (3)
People
- Ulrich Bodenhofer author maintainer thesis advisor
- Johannes Palme author
Cite
Cite this package
Run in R for the authors' entry:
citation("kebabs")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/bioinformatics/btv176.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.