View source: R/read_eager_results.R
collapse_for_poseidon | R Documentation |
Takes a comples ';' separated value of UDG or Library_Built and returns the appropriate j anno value to summarise that dataset in the provided field.
collapse_for_poseidon(x, field)
x |
character. A collapsed, poseidon-formatted string of Library builds or UDG treatments. |
field |
character. The field to format for. One of 'UDG', 'Library_Built' |
character. Either the unique repeated element in the collapsed string, or 'mixed'.
collapse_for_poseidon("ds;ds;ds", "Library_Built") ## Unique repeated library build
collapse_for_poseidon("ds;ss;ds", "Library_Built") ## Non-unique library builds
collapse_for_poseidon("minus;minus;minus", "UDG") ## Unique repeated UDG treatment
collapse_for_poseidon("minus;half;plus", "UDG") ## Non-unique UDG treatment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.