View source: R/utility_funcs.R
check_sample_consistency | R Documentation |
Check if sample annotation is consistent with data matrix and join the two
check_sample_consistency(sample_annotation, sample_id_col, df_long,
batch_col = NULL, order_col = NULL, facet_col = NULL,
merge = TRUE)
sample_annotation |
data frame with:
.
See |
sample_id_col |
name of the column in |
df_long |
data frame where each row is a single feature in a single
sample. It minimally has a |
batch_col |
column in |
order_col |
column in |
facet_col |
column in |
merge |
(logical) whether to merge |
df_long
format data frame, merged with sample_annotation using
inner_join (samples represented in both)
df_test = check_sample_consistency(sample_annotation = example_sample_annotation,
df_long = example_proteome, sample_id_col = 'FullRunName',
batch_col = NULL, order_col = NULL, facet_col = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.