Description Usage Arguments Details Value Author(s) See Also Examples
Counts the number of ResType within the provided string.
1 | getResTypeCounts(res.types)
|
res.types |
A vector of strings containing a combination of the 20 ResTypes. |
This is a wrapper for the base::table() function. The
vector of ResType are passed to the function, non-standard ResType are
removed, the ResType are counted, and the counts are ordered based on the
names.ResTypes constant.
NOTE: This is a non-public function.
a vector of numbers indicating the counts of each ResType. The
vector is ordered based on the names.ResTypes with ResTypes not
included assigned a value of zero (0).
Emilio Xavier Esposito emilio@exeResearch.com
Other utilities: ConservationSet,
DetermineChainsOfInterest,
ExtractFileTimeStamp,
ExtractPDBids, FileTimeStamp,
HasXWaters, Nearby,
ProtHetWatIndices,
RescaleValues,
RetainChainsOfInterest,
ReturnPDBfullPath,
StandardizeAsparticAcidNames,
StandardizeCysteineNames,
StandardizeGlutamicAcidNames,
StandardizeHistidineNames,
StandardizeLysineNames,
TimeSpan, UniqueAtomHashes,
aaStandardizeNames,
getAtomTypeCounts, res2xyz,
resAtomType2AtomClass,
write.basic.pdb,
write.conservedWaters.pdb
1 2 3 4 5 6 7 8 | ## Not run:
set.seed(13)
num.ResTypes <- sample(1:10, 20, replace = TRUE)
res.types <- rep(names.residues, num.ResTypes)
getResTypeCounts(res.types)
# [1] 8 3 5 10 6 6 4 8 3 1 10 7 7 5 1 6 8 1 1 4
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.