nFragments0 {wrMisc} | R 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"))
[Package wrMisc version 1.15.1 Index]