generate_summary_specific_modules.Rd
Generate summary of specific pathways and top contributing genes given an annotation
generate_summary_specific_modules(
PCA_object,
file = NULL,
meta,
annot_name,
top_genes = 10,
min_contrib = 0.1
)
List, output from run_activity_analysis().
Character, path to file if you want the analysis stored as xlsx file with one sheet by cluster.
Dataframe containing metadata, with cell labels as rownames.
Character, name of the column in meta that should be used as annotation for cells.
Integer, number of top genes contributing to PC to print.
Double, minimum contribution/weight of a gene to the PC. It overrides top_genes parameter and only top_genes contributing above min_contrib will be printed.
Double, value between 0 and 1 indicating the maximum specificity you allow a non-specific cluster to have. Can be increased if no pathways appear as specific.
List, one assay by cluster defined by annotation, and each displaying a table with the pathway, the top contributing genes and the pathway specificity.