Description Usage Arguments Details Value Examples
View source: R/datacollation.R
Create a composite dataframe for a batch of simulations, derived from multiple data files per simulation.
1 2 3 |
input_dir |
base input directory name |
include_diversities |
boolean whether to include diversity metrics |
df_type |
which dataframes to combine |
max_generation |
If TRUE then results are returned only for the final generation |
vaf_cut_off |
exclude genotypes with vaf lower cut off from combined_df |
generation |
Generation at which to filter (default NA corresponds to no filtering) |
numcells |
Number of cells at which to filter (default NA corresponds to no filtering) |
n_cores |
Number of cores to use (default NA is not parallelized) |
ExitCode4 |
: if TRUE, this means that we want to include in the analysis the simulations whose error message is Exit Code 4. This will call the function combine_dfs with argument ExitCode4=TRUE. |
If both generation
and numcells
are provided then numcells
takes precedent.
a combined dataframe
1 2 3 4 5 6 7 | all_output(system.file("example_batch", "", package = "demonanalysis", mustWork = TRUE))
all_output(system.file("example_batch", "", package = "demonanalysis", mustWork = TRUE),
df_type = "driver_genotype_properties")
all_output(system.file("example_batch", "", package = "demonanalysis", mustWork = TRUE),
df_type = "genotype_properties", vaf_cut_off = 0.002)
all_output(system.file("example_batch", "", package = "demonanalysis", mustWork = TRUE),
df_type = "allele_counts", generation = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.