# NOT RUN {
## R Code Example
# }
# NOT RUN {
con <- SerratusConnect()
get.sOTU(c("u1337"), con, get_childs = TRUE)
# }
# NOT RUN {
## Non-Running Example to demonstrate sOTU Relationships
# palm_id sOTU
# u1 u3
# u2 u3
# u3 u3
# u4 u4
# Retrieve the parent sOTU for an input of palm_ids
# get.sOTU(c("u1","u2",u4"), con, get_childs = FALSE)
# -- returns c("u3","u4")
# Return an ordinal list of sOTU for iput
# get.sOTU(c("u2","u4","u2","u1"), con, ordinal = TRUE)
# -- returns c("u3", "u4", "u3", "u3")
# Return all children palm_id within an sOTU
# get.sOTU(c("u2"), con, get_childs = TRUE)
# -- returns c("u1", u2", "u3")
# }
Run the code above in your browser using DataLab