PageRenderTime 23ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/fingerprint/man/balance.Rd

http://github.com/rajarshi/cdkr
Unknown | 35 lines | 35 code | 0 blank | 0 comment | 0 complexity | 0efea50e6b9d5435b4b9704d4391cacd MD5 | raw file
  1. \name{balance}
  2. \alias{balance}
  3. \title{
  4. Generate a Balanced Code Fingerprint
  5. }
  6. \description{
  7. It has been noted that the bit density in a fingerprint can affect its ability to
  8. retrieve similar compounds from a database primarily due to complexity effects. One
  9. approach to alleviating these effects is to generate fingerprints that have a bit
  10. density of 50% (i.e., half the bits are set to 1). This method implements the
  11. balanced code approach described by Nisius and Bajorath to convert an ordinary
  12. binary fingerprint (whose bit density is not 50%) to one that has a bit density of
  13. 50%. This is acheived by appending the complement of the input fingerprint to itself
  14. (resulting in a fingerprint twice the size of the original).
  15. }
  16. \usage{
  17. balance(fplist)
  18. }
  19. \arguments{
  20. \item{fplist}{A single fingerprint or a list of fingerprints}
  21. }
  22. \value{
  23. A single fingerprint objects or list of fingerprint objects that are "balanced",
  24. in that they have a bit density of 50%. Their size is 2x the size of the input
  25. fingerprints.
  26. }
  27. \seealso{
  28. \code{\link{bit.spectrum}}, \code{\link{bit.importance}}
  29. }
  30. \references{
  31. Nisius, B.; Bajorath, J.; \emph{ChemMedChem}, \bold{2010},
  32. \emph{5}, 859-868.
  33. }
  34. \keyword{programming}
  35. \author{Rajarshi Guha \email{rajarshi.guha@gmail.com}}