Draw the heatmap and PCA on genes of different pathways
1 2 3 4 5 6 7 8 9 | all_pathways_heat_pca(
x,
save_dir,
all_path = NULL,
highlight_cells = NULL,
DE_dir = NULL,
DE_label = NULL,
species = "human"
)
|
x |
a Seurat object |
save_dir |
where outputs will be saved. For each pathway, one pdf file will be made, including the PCA in the first page, heatmap the second, and truncated heatmaps if the heatmap is too dense |
all_path |
a dataframe with 2 columns: 'pathway' for the common names of the pathway that is used for naming the output file, and 'kegg_id' for the KEGG ID for that pathway. This ID may be obtained from: https://www.genome.jp/kegg/pathway.html |
highlight_cells |
which cells to highlight in the PCA and heatmap |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.