after starting working with the package ComplexHeatmap, i would like to add a simple question (with my apologies if I missed the answer in the package documentation). The question is the following:
shall we have numerical matrix/dataframe (with or without ROWNAMES or COLNAMES), is the ORDER of the ROWS or the COLUMNS by default CONNECTED to a data frame of ANNOTATIONS in HeatmapAnnotation () ?
Or shall we include the ROWNAMES and the COLNAMES in the initial numerical matrix/dataframe,
and use identical NAMES (as the ROWNAMES and COLNAMES) in the HeatmapAnnotation() dataframe for precise annotations ?
I am asking the question because sometimes we have to FILTER the initial MATRIX/DATAFRAME (function of various criteria), and we'd like to keep the same annotations in HeatmapAnnotation for the remaining ROWS and COLUMNS ?
I will post an example in a few minutes. Many thanks,