Description Usage Arguments Value Examples
Finish calculating overlap statistics
1 | calculate_post(stats_pre, input_size, universe)
|
stats_pre |
value from |
input_size |
number of genes in input |
universe |
number of genes in universe |
tibble: overlap statistics
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
anno_path <- system.file("extdata", "ex_anno.csv", package = "glacier")
data_path <- system.file("extdata", "ex_data.csv", package = "glacier")
anno <- import_annotations(anno_path, ",", TRUE, c(2, 4), 5)
data <- import_database(data_path, ",", FALSE, c(2, 4), 0)
info <- anno[c("name", "info")]
anno_proc <- process_annotations(anno, info, "file")
data_proc <- process_database(data, "Not assigned", "Not assigned")
input <- process_input_text("FCN1 0.1 FTL 0.8 CLU 0.05")
calc_pre <- calculate_pre(input, anno_proc$annos, anno_proc$gs_annos,
data_proc$gs_genes)
calc <- calculate_post(calc_pre$stats_pre, nrow(input), 10000)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.