Closed NathanSkene closed 3 years ago
I was thinking addition of extra tests, idea is that codecov should report at least 80% covered by tests
Additional tests could be:
Running cortex_mrna$exp = fix.bad.mgi.symbols(cortex_mrna$exp,mrk_file_path="MRK_List2.rpt")
(from the vignette) removes/fixes an expected set of genes
Running full_results = bootstrap.enrichment.test(sct_data=ctd,hits=mouse.hits,bg=mouse.bg,reps=reps,annotLevel=level)
gives microglia as the only significant enrichment
Running tt_results = ewce_expression_data(sct_data=ctd,tt=tt_alzh,annotLevel=1,ttSpecies="human",sctSpecies="mouse")
gives the results shown in the vignette
Also include a test for controlled_geneset_enrichment
Because EWCE uses random permutations, the 'same result' should not depend on exact pvalues.
Another test:
Just assuming this is the initial set up to enable unit testing and not the addition of further tests? If so this was completed with the mean CTD test