parse_sdf: Parse molecules from SDF/MOL text block.

View source: R/parse.R

parse_sdfR Documentation

Parse molecules from SDF/MOL text block.

Description

Parse molecules from SDF/MOL text block.

Usage

parse_sdf(string)

Arguments

string

A SDF/MOL text block string.

Examples


str_single <- readr::read_file(tidychem_example("single.mol"))
str_multiple <- readr::read_file(tidychem_example("5ht3ligs.sdf"))

parse_sdf(str_single)
parse_sdf(str_multiple)


nanxstats/tidychem documentation built on Sept. 16, 2024, 9:32 a.m.