Description Usage Arguments Details Value Author(s) See Also Examples
Constructs unique atom hashes from the provided
1 | UniqueAtomHashes(atoms.oi, cols.oi, separator = "_")
|
atoms.oi |
A data.frame containing the common PDB information in columns |
cols.oi |
A vector of column names to be used in the construction of the unique atom hashes |
separator |
A single character string to separate the atom specific identifiers. Acceptable separators include: _ (default), -, +, ., :, |, " " (space), and "" (no separator). |
Using atom specific identifiers from a PDB-like formatted data.frame, unique atom hashes are constructed. The identifiers are separated by a user-defined separator, the default separator is an underscores ("_"), and the constructed hashes are returned as a vector.
Select a separator to allow easy splitting of the the unique atom hashes
using the base::strsplit() function to access the individual components.
NOTE: This is a non-public function.
a vector of strings containing the unique atom hashes
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, aaStandardizeNames,
getAtomTypeCounts,
getResTypeCounts, res2xyz,
resAtomType2AtomClass,
write.basic.pdb,
write.conservedWaters.pdb
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
atoms.oi <- thrombin.1hai$atom[1:10, ]
cols.oi <- c("elety", "resid", "chain", "resno")
UniqueAtomHashes(atoms.oi, cols.oi, separator = "_")
# [1] "N_THR_L_1" "CA_THR_L_1" "C_THR_L_1" "O_THR_L_1" "CB_THR_L_1"
# "OG1_THR_L_1" "CG2_THR_L_1" "N_PHE_L_1" "CA_PHE_L_1" "C_PHE_L_1"
UniqueAtomHashes(atoms.oi, cols.oi, separator = "!")
# The provided separator "!" is not acceptable. The default separator "_" is being used.
# [1] "N_THR_L_1" "CA_THR_L_1" "C_THR_L_1" "O_THR_L_1" "CB_THR_L_1"
# "OG1_THR_L_1" "CG2_THR_L_1" "N_PHE_L_1" "CA_PHE_L_1" "C_PHE_L_1"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.