Closed JamesOpz closed 4 years ago
The function now works on the SingleCellExperiment object and is up to date with the master. I've updated the other fucntions, I just need to rebase the branches so they are up to date.
I think that this branch has been rebased now and can be merged successfully.
This function takes as input the intitialized scToolkit object and splits the expression matrix into its respective samples using the "group" metadata slot. Uses the median marker expression across all cells for each smaple to produce a hierarchichal clustering heatmap using the "pheatmap" package. It can also take as argument a "feature", which represents a metadata slot, to annotate the heatmap with another experimental condition. Below is output without feature:
sample_heatmap_no_feature.pdf
and the output also with feature:
sample_heatmap_with_feature.pdf