# Pug View request for the compound "aspirin (CID = 2244)".
pview <- get_pug_view(identifier = "2244", annotation = "data", domain = "compound")
section(pview, "S1")
section(pview, "S1", .verbose = TRUE)
# List all available sections
sectionList(pview)
# Subsections under the section "S1"
sectionList(section(pview, "S1"))
# Print multiple sections
# section(section(pview, "S1", .verbose = TRUE), "S3", .verbose = TRUE)
Run the code above in your browser using DataLab