powered by
This function determines number of fragments /entry within range of 'sizeRa' (numeric,length=2) when cutting after 'cutAt'
nFragments( protSeq, cutAt, sizeRa, silent = FALSE, debug = FALSE, callFrom = NULL )
This function returns a numeric vector with number of fragments for each entry 'protSeq' (names are 'protSeq')
(character) text to be cut
(character) position to cut
(numeric,length=2) min and max size to consider
(logical) suppress messages if TRUE
TRUE
(logical) additional messages for debugging
(character) allows easier tracking of messages produced
cutAtMultSites, simple version {nFragments0} (no size-range)
cutAtMultSites
{nFragments0}
tmp <- "MSVSREDSCELDLVYVTERIIAVSFPSTANEENFRSNLREVAQMLKSKHGGNYLLFNLSERRPDITKLHAKVLEFGWPDLHTPALEKI" nFragments(c(tmp,"ojioRij"),c("R","K"),c(4,31))
Run the code above in your browser using DataLab