powered by
nFragments determines number of fragments /entry within range of 'sizeRa' (numeric,length=2) when cutting after 'cutAt'
nFragments
nFragments(protSeq, cutAt, sizeRa)
(character) text to be cut
(character) position to cut
(numeric,length=2) min and max size to consider
numeric vector with number of fragments for each entry 'protSeq' (names are 'protSeq')
cutAtMultSites, simple version {nFragments0} (no size-range)
cutAtMultSites
{nFragments0}
# NOT RUN { tmp <- "MSVSREDSCELDLVYVTERIIAVSFPSTANEENFRSNLREVAQMLKSKHGGNYLLFNLSERRPDITKLHAKVLEFGWPDLHTPALEKI" nFragments(c(tmp,"ojioRij"),c("R","K"),c(4,31)) # }
Run the code above in your browser using DataLab