Break string ELEMENTS into WORDS for domain architecture (DA) and genomic
context (GC)
Usage
elements2words(prot, column = "DomArch", conversion_type = "da2doms")
Arguments
- prot
dataframe
- column
string column name
- conversion_type
string type of conversion: 'da2doms': domain architectures to
domains. 'gc2da' genomic context to domain architectures
Value
string with words delimited by spaces
Examples
if (FALSE) { # \dontrun{
tibble::tibble(DomArch = c("aaa+bbb", "a+b", "b+c", "b-c")) |> elements2words()
} # }