Description Usage Arguments Value Examples
This wrapper function uses all the functions within this function and strings them together in a sample workflow. Currently only 'limma' is supported.
1 2 3 4 5 6 7 8 9 10 | run_sample_limma_de(
raw_counts,
metadata,
.metadata_var,
.design_vars,
contrastcond1,
contrastcond2,
.cols_to_remove = NULL,
.filter_method = "edgeR"
)
|
raw_counts |
cleaned dataframe of counts, rows should be gene IDs, columns should be samples, cells should only contain counts |
metadata |
cleaned metadata for RNAseq data |
.metadata_var |
column of sample identifier that user expects to match with count_matrix |
contrastcond1 |
control var |
contrastcond2 |
experimentl var |
.filter_method |
Please refer to |
cols_to_remove |
vector of column numbers that do not correspond to a sample, necessary to identify for downstream functions |
.design_var |
a character vector of variables to include in the model these should be case-specific and match the variable names in the metadata |
a 'tbl'
1 2 3 4 5 6 7 8 9 | cond_df <- tibble(cond1 = c("a1", "a2", "a3"), cond2 = c("b1", "b2", "b3"))
map2(cond_df$cond1, cond_df$cond2, ~run_sample_limma_de(
my_counts,
my_metadata,
my_variable,
my_design_variable,
.x,
.y))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.