This displays the overlap between the grouping you are looking at (“first” sample grouping), and an alternate grouping (“second” sample grouping), as a so-called mosaic plot. In the mosaic plot, each column represents grouping by the alternate method, and the proportion of samples falling into your primary group choice are shown proportionally within that column. The width of the column reflects the number of samples in the alternate groups."
Manuscript context: Figure 1D can be generated by selecting Immune Subtype in the top left as the primary group, and “TCGA Study” with the radio buttons below, as the alternate grouping. Figure S1B corresponds to the opposite choice, and you can generate a mosaic plot for the BRCA subtypes in Figure S1B using this method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.