View source: R/merge_magma_results.r
merge_magma_results | R Documentation |
Used for instance when you want to merge results from 'Linear' and 'Top 10%' enrichment modes.
merge_magma_results(ctAssoc1, ctAssoc2)
ctAssoc1 |
Output from either calculate_celltype_associations or calculate_conditional_celltype_associations. |
ctAssoc2 |
Output from either calculate_celltype_associations or calculate_conditional_celltype_associations. |
List with same format as output from either calculate_celltype_associations or calculate_conditional_celltype_associations.
res <- MAGMA.Celltyping::enrichment_results
ctAssoc1 <- res[[1]]$ctAssocsLinear
ctAssoc2 <- res[[1]]$ctAssocsTop
ctAssocs <- merge_magma_results(ctAssoc1=ctAssoc1, ctAssoc2=ctAssoc2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.