Skip to content

kebabs

Bioc current

Kernel-Based Analysis of Biological Sequences

v1.46.1 · Package record · software · GPL (>= 2.1)

Release Lineage

Entered 3.0 · Oct 14, 2014

Current · Requires R 4.6

1.0 In 24 of 49 releases 3.23

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.

Advisories

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.

Loading 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

R 20,467 (36.2%)C/C++/src 24,638 (43.6%)Docs 6,459 (11.4%)Vignettes 5,003 (8.8%)

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

v3.0: 47,895 LOCv3.1: 56,037 LOCv3.2: 56,508 LOCv3.3: 56,580 LOCv3.4: 56,588 LOCv3.5: 56,588 LOCv3.6: 56,588 LOCv3.7: 56,582 LOCv3.8: 56,584 LOCv3.9: 56,584 LOCv3.10: 56,432 LOCv3.11: 56,432 LOCv3.12: 56,432 LOCv3.13: 56,441 LOCv3.14: 56,441 LOCv3.15: 56,441 LOCv3.16: 56,441 LOCv3.17: 56,449 LOCv3.18: 56,449 LOCv3.19: 56,541 LOCv3.20: 56,541 LOCv3.21: 56,541 LOCv3.22: 56,541 LOCv3.23: 56,567 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

In the Bioconductor 3.23 release
READMEYes · 263 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.46.1Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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%
Changes in 1.46.1 (Bioconductor 3.23)
  • 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

Upstream repositoryBeta

Checks run against github.com/ubod/kebabs on 2026-10-25.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 8
NameClassSizeAlso in
ccannotvector477 elementsNo other package
ccgroupsvector477 elementsNo other package
ccseq–––
enhancerFB–––
yCCfactor477 elementsNo other package
yFBvector500 elementsNo other package
yMCvector500 elementsNo other package
yRegmatrix500 × 1No other package

All of kebabs's data objects

Topics

Maintainer
Ulrich Bodenhofer

Available on

CRANr2uBioconductorautoCRANCOPR

Depended on by (3)

Bioconductor (3)

People

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for kebabs version 1.46.1 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy