make_lite_output_condition_specific | R Documentation |
make_lite_output_condition_specific
Reduce the size of the MultiNicheNet output object (for memory efficiency), by only keeping expression information for present ligands, receptors, and genes DE in at least one probed condition. This function is specific for an object that contains the prioritization tables of the condition-specific cell type workflow as well.
make_lite_output_condition_specific(multinichenet_output, top_n_LR = 2500)
multinichenet_output |
Output of a MultiNicheNet analysis (result of 'multi_nichenet_analysis()'). |
top_n_LR |
top nr of LR pairs for which correlation with target genes will be calculated. Is 2500 by default. If you want to calculate correlation for all LR pairs, set this argument to NA. |
multinichenet output list (= result of 'multi_nichenet_analysis()'), but now filtered such that expression information is only returned for present ligands, receptors, and genes DE in at least one probed condition.
## Not run:
library(dplyr)
multinichenet_output = multinichenet_output %>% make_lite_output_condition_specific()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.