Returns a list with all supported motif classes for the given signature. Raises an error if the given signature is not supported.

supported_classes(signature, directed)

Arguments

signature

head of a motif identifier string, i.e. string with comma-separated list specifying the signature of the motif

directed

whether the motifs are directed.

Value

list of supported motif classes

See also

Examples

# \dontrun{ supported_classes("1,2", FALSE)
#> [1] "I.A" "I.B" "I.C" "II.A" "II.B" "II.C"
supported_classes("1,1", TRUE)
#> [1] 0 1 2 3
# }