Description Usage Arguments Value Examples
Function to calcualte the set-difference for two sets of hashed fingerprints for each example. This can be useful, if circular, i.e. ECFP or FCFP, fingerprints are considered. For example if we want to know, which features are unique to the ECFP6 fingerprints, we need to remove those ones of ECFP4.
1 | setdiff_fingerprints(fps_A, fps_B)
|
fps_A |
fps list of |
fps_B |
fps list of |
list of fingerprint-class
.
1 2 3 4 5 6 7 | inchi <- "InChI=1S/C9H10O4/c10-7-3-1-6(2-4-7)5-8(11)9(12)13/h1-4,8,10-11H,5H2,(H,12,13)"
fps_ecfp4 <- calculate_fingerprints_from_inchi(
inchi, fp_type = "circular", fp_mode = "count", circular.type="ECFP4")
fps_ecfp6 <- calculate_fingerprints_from_inchi(
inchi, fp_type = "circular", fp_mode = "count", circular.type="ECFP6")
fps_diff <- setdiff_fingerprints(fps_ecfp6, fps_ecfp4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.