N-Gram Analysis of Biological Sequences
Overview
Tools for extraction and analysis of various n-grams (k-mers) derived from biological sequences (proteins or nucleic acids). Contains QuiPT (quick permutation test) for fast feature-filtering of the n-gram data.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) calc_ed.Rd:14: Lost braces; missing escapes or markup?
14 | of groups or less than \code{a}. Both \code{a} and {b} must have the the same
| ^
checkRd: (-1) calc_pi.Rd:14: Lost braces; missing escapes or markup?
14 | of groups or less than \code{a}. Both \code{a} and {b} must have the the same
| ^
checkRd: (-1) calc_si.Rd:14: Lost braces; missing escapes or markup?
14 | of groups or less than \code{a}. Both \code{a} and {b} must have the the same
| ^
checkRd: (-1) cluster_reg_exp.Rd:15: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) cluster_reg_exp.Rd:16: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) cluster_reg_exp.Rd:17: Lost braces in \itemize; \value handles \item{}{} directly
checkRd: (-1) cluster_reg_exp.Rd:18: Lost braces in \itemize; \value handles \item{}{} directlyNOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: biogram/tests/testthat/test_count_ngrams.R (.Dim: 2, .Dimnames: 2) biogram/tests/testthat/test_position_ngrams.R (.Label: 16, .Names: 3, .Dim: 1) biogram/tests/testthat/test_seq2grams.R (.Dim: 4) biogram/man/simple2full.Rd (.Names: 1) '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'. '.Label' should be changed to 'levels'. '.Names' should be changed to 'names'.
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Michal Burdukiewicz <michalburdukiewicz@gmail.com>’ Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
- NOTE13 NOTENow
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 59includes a package overview page
- Examples that run
- 98%46 run in a plain check · 1 never run
- Exported functions with examples
- 91%
- Documented parameters
- 99%
- Return-value docs
- 85%
- Help pages citing references
- 8%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 50
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/michbur/biogram on 2026-10-18.
GitHub Pages site last deployed 2026-07-07
Dependencies
Installing biogram adds 9 packages (5 with compiled code, 2.7 MB of source tarballs). Heaviest: rbibutils 1.1 MB, partitions 479 KB, Rdpack 370 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.6.3Latest
- 1.6.12020-01-09 · diff ↗ ·
added 9 exports
full2simple, generate_single_region, generate_single_unigram, generate_unigrams, read_fasta, regenerate, simple2full, write_encoding, write_fasta - RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 1.4
- 1.32016-09-21 · diff ↗ ·
added 8 exports
binarize, calc_cs, calc_ed, calc_si, cluster_reg_exp, encoding2df, list2matrix, validate_encoding - RR 3.3.0 released · 2016-05-03
- 1.22015-06-22 · diff ↗ ·
removed 2 exports
calc_ig_single, criterion_distributionadded 11 exports
add_1grams, calc_criterion, calc_kl, code_ngrams, construct_ngrams, count_specified, count_total, distr_crit, gap_ngrams, ngrams2df, table_ngrams
Package metadata
- First published
- 2014-12-19
- Total releases
- 7 / 12 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 67 KB / 2 files
- Download size
- 235 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("biogram")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.