add.res.to.merging.list: Add to results to merging list

Description Usage Arguments Value Examples

View source: R/add.res.to.merging.list.R

Description

add.res.to.merging.list Adds EWCE results to a list for merging analysis

Usage

1
add.res.to.merging.list(full_res, existing_results = NULL)

Arguments

full_res

results list generated using bootstrap.enrichment.test or ewce_expression_data functions. Multiple results tables can be merged into one results table, as long as the 'list' column is set to distinguish them.

existing_results

Output of previous rounds from adding results to list. Leave empty if this is the first item in the list.

Value

merged results list

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# Load the single cell data
data(celltype_data)

# Load the data
data(tt_alzh)
data(tt_alzh_BA36)
data(tt_alzh_BA44)

# Run EWCE analysis
tt_results = ewce_expression_data(sct_data=celltype_data,tt=tt_alzh)
tt_results_36 = ewce_expression_data(sct_data=celltype_data,tt=tt_alzh_BA36)
tt_results_44 = ewce_expression_data(sct_data=celltype_data,tt=tt_alzh_BA44)

# Fill a list with the results
results = add.res.to.merging.list(tt_alzh)
results = add.res.to.merging.list(tt_alzh_BA36,results)
results = add.res.to.merging.list(tt_alzh_BA44,results)

EWCE documentation built on May 31, 2017, 3:16 p.m.