View source: R/tidyMS_R6_TransitionCorrelations.R
response_matrix_as_tibble | R Documentation |
Takes matrix of responses and converts into tibble
response_matrix_as_tibble(pdata, value, config, data = NULL, sep = "~lfq~")
pdata |
(matrix) |
value |
name of column to store values in. (see 'gather') |
config |
AnalysisConfiguration |
data |
lfqdata |
sep |
separater to unite the hierarchy keys. |
dd <- prolfqua::sim_lfq_data_peptide_config()
data <- dd$data
conf <- dd$config
res <- tidy_to_wide_config(data, conf, as.matrix = TRUE)
res <- scale(res$data)
xx <- response_matrix_as_tibble(res,"srm_intensityScaled", conf)
xx <- response_matrix_as_tibble(res,"srm_intensityScaled", conf, data)
conf$table$get_response() == "srm_intensityScaled"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.