# NOT RUN {
# }
# 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"
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab