
Helper to specify simple comp_heatmap annotation for other sample data
Source:R/heatmaps-sampleAnnotation.R
anno_sample.Rd
Use this as an argument to sampleAnnotation(), which itself is used by comp_heatmap() as sample_anno argument.
This creates a vector, which sampleAnnotation() interprets as a simple annotation, so then you set colours and legend parameters for each simple annotation as further arguments in sampleAnnotation.