nFragments0: Number Of Fragments After Cut At Specific Character(s)

View source: R/nFragments.R

nFragments0R Documentation

Number Of Fragments After Cut At Specific Character(s)

Description

This function tells the number of fragments/entry when cutting after 'cutAt'

Usage

nFragments0(protSeq, cutAt, silent = FALSE, debug = FALSE, callFrom = NULL)

Arguments

protSeq

(character) text to be cut

cutAt

(integer) position to cut

silent

(logical) suppress messages if TRUE

debug

(logical) additional messages for debugging

callFrom

(character) allows easier tracking of messages produced

Value

This function returns a numeric vector with number of fragments for each entry 'protSeq' (names are 'protSeq')

See Also

more elaborate {nFragments}; cutAtMultSites

Examples

tmp <- "MSVSRTMEDSCELDLVYVTERIIAVSFPSTANEENFRSNLREVAQMLKSKHGGNYLLFNLSERRPDITKLHAKVLEFGWPDLHTPALEKI" 
nFragments0(c(tmp,"ojioRij"),c("R","K"))

wrMisc documentation built on March 9, 2026, 5:07 p.m.