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

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

Usage

nFragments0(protSeq, cutAt)

Arguments

protSeq

(character) text to be cut

cutAt

(integer) position to cut

Value

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 Nov. 17, 2023, 5:09 p.m.