SDFDataTable {ChemmineR} | R Documentation

## SDF Data Table

### Description

Creates and HTML DataTable showing the compound image along with the fields in the compound data block. Using a browser, this table can be filtered and paged, among other things.

This uses the DT library to create the DataTable.

### Usage

    	SDFDataTable(sdfset)

### Arguments

`sdfset` | An `SDFSet` object

### Value

Returns the result of the `datatable` function from the `DT` library. An HTML file can be created from this value by calling the `saveWidget` function on it.

### Author(s)

Kevin Horan

### References

DT library: https://rstudio.github.io/DT/ DataTables javascript library: https://datatables.net/

### Examples

    	library(ChemmineR)
    	library(DT)
    	data(sdfsample)

    	# this will open a browser to display the result
    	x=SDFDataTable(sdfsample[1:3])

    	# if no GUI is available or you want to save the HTML result:
    	saveWidget(x,"output.html")

[Package ChemmineR version 3.32.1 Index]