Description Usage Arguments Value Author(s) See Also Examples
View source: R/BuildStructandSeries.R
This function generates labels to plot homologue series with the inputs used
in the buildSmiles
function.
1 2 | buildSeriesLabel(genSmiles, SeriesName, R1toN, nR1toN, ExtraAtoms_R1toN=NULL,
RDB_R1toN=NULL, split_nR1toN=FALSE)
|
genSmiles |
A "Generic" |
SeriesName |
A general name for the series, preferably short (abbreviation). |
R1toN |
A vector containing 1 to n |
nR1toN |
The range for each R group (start-end,start-end, ...,start-end).
If a single range is given for n R groups, this can optionally be split by setting |
ExtraAtoms_R1toN |
(optional) If present, is added to the end of the label. |
RDB_R1toN |
(optional) If present, is added to the end of the label (after ExtraAtoms) |
split_nR1toN |
If |
Returns a label that can be used to annotate generic structures in CDK Depict
Emma Schymanski <emma.schymanski@uni.lu>
1 2 3 | genSmiles <- "OS(=O)(=O)c1ccc(cc1)C([R1])[R2]"
buildSeriesLabel(genSmiles,"LAS","{C,C}","{9-13}")
buildSeriesLabel(genSmiles,"LAS","{C,C}","{9-13}", split_nR1toN=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.