A vector of length 7 with the colors for XY, XX, X0, XXY, XYY, XXX and XXYY, respectively.
maxNumSamplesPerPlot
How many samples to place next to each other into one barplot. If there are more samples, multiple barplots will be generated. This is to ensure that the labels are readable.
sortByKaryotype
If TRUE, the samples (i.e. the bars) are ordered by the posterior mode of the sex karyotype.
sampleNames
A vector of sample names that represents the order in which the bars are plotted. Overrides any argument given to sortByKaryotype.