make_format_translation_warning: Collate the warnings of a Biostrings::translate function

Description Usage Arguments Details Value

View source: R/cosmetics_warnings.R

Description

The Biostrings::translate function emits one warning for each CDS that is not a multiple of 3. This function collates all these warnings into one. Also it specifies the name of each sequence and the species from whch they derive.

Usage

1

Arguments

label

The species name, usually

node

Rmonad object wrapping the result of a Biostrings::translate function

Details

The warning is assumed to have the form: "in 'x[[123]]': last 2 bases were ignored" "in 'x[[456]]': last base was ignored"

Value

Rmonad An Rmonad object with a modified warning field


arendsee/fagin documentation built on Aug. 27, 2019, 11:58 a.m.