aboutsummaryrefslogtreecommitdiff
path: root/man/chent.Rd
blob: 00516b9427e86c1060ee8f408f51226a1988cdd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/chent.R
\docType{class}
\name{chent}
\alias{chent}
\title{An R6 class for chemical entities with associated data}
\format{An \code{\link{R6Class}} generator object}
\usage{
chent
}
\description{
The class is initialised with an identifier. Chemical information is retrieved from
the internet. Additionally, it can be generated using RDKit if RDKit and its
python bindings are installed.
}
\section{Fields}{

\describe{
\item{\code{identifier}}{The identifier that was used to initiate the object, with attribute 'source'}

\item{\code{inchikey}}{InChI Key, with attribute 'source'}

\item{\code{smiles}}{SMILES code, with attribute 'source'}

\item{\code{mw}}{Molecular weight, with attribute 'source'}

\item{\code{pubchem}}{List of information retreived from PubChem}

\item{\code{rdkit}}{List of information obtained with RDKit}

\item{\code{Picture}}{Graph as a \code{\link{picture}} object obtained using grImport}

\item{\code{chyaml}}{List of information obtained from a YAML file}

\item{\code{degradation}}{List of degradation endpoints}
}}
\examples{
oct <- chent$new("1-octanol", smiles = "CCCCCCCCO")
print(oct)
plot(oct)
caffeine <- chent$new("caffeine")
print(caffeine)
plot(caffeine)
}
\keyword{data}

Contact - Imprint