mcs2sdfset: Return MCS object as SDFset

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/fmcs.R

Description

Helper function to run atomsubset from ChemmineR library on MCS objects in order to obtain their results in SDFset format.

Usage

1

Arguments

x

Object of class MCS

...

Arguments to be passed to/from other methods.

Details

Returns MCS data in form of a list containing two SDFset objects, one for the query and one for the target structure.

Value

List with two SDFset objects.

Note

...

Author(s)

Thomas Girke

References

...

See Also

fmcs

Examples

1
2
3
4
5
6
7
library(fmcsR)
data(sdfsample)
sdfset <- sdfsample
mcs <- fmcs(sdfset[[1]], sdfset[[2]], au=2, bu=1, matching.mode="aromatic")
mcs2sdfset(x=mcs, type="new")
mcs2sdfset(x=mcs, type="old")[[1]][[1]] 
plot(mcs2sdfset(x=mcs, type="new")[[1]][1]) 

girke-lab/fmcsR documentation built on May 17, 2019, 5:27 a.m.