update_tomic | R Documentation |
Provide an updated features, samples or measurements table to a
tomic
.
update_tomic(tomic, tomic_table)
tomic |
Either a |
tomic_table |
A table taken from a tidy (i.e., augmented measurements) or triple omic dataset |
A tomic
object with updated features, samples or measurements.
library(dplyr)
updated_features <- brauer_2008_triple$features %>%
dplyr::filter(BP == "biological process unknown") %>%
dplyr::mutate(chromosome = purrr::map_int(systematic_name, function(x) {
which(LETTERS == stringr::str_match(x, "Y([A-Z])")[2])
}))
update_tomic(brauer_2008_triple, updated_features)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.