plotomics
    Preparing search index...

    Interface ViolinOptions

    interface ViolinOptions {
        scalePerViolin: boolean;
        showFeatureLabels: boolean;
        showMedian: boolean;
        showValueAxis: boolean;
        theme: Partial<PlotomicsTheme>;
        violinAspect: number | null;
        violinWidth: number;
    }
    Index
    scalePerViolin: boolean

    Scale each violin to its own maximum rather than the row's. Per-row is the honest default: within a gene, groups stay comparable.

    showFeatureLabels: boolean

    Draw the per-row feature labels.

    showMedian: boolean

    Draw the median tick.

    showValueAxis: boolean

    Draw each row's value axis, with its lowest and highest grid value.

    theme: Partial<PlotomicsTheme>
    violinAspect: number | null

    The largest width of the widest violin, as a multiple of its row height. A violin much wider than its row is tall reads as a flat band. The cap never makes a violin narrower than four times the label text size (44 px at the default font size), so with many features the violins stay visible; nor wider than violinWidth of its cell. null or Infinity turns the cap off, and any value other than a positive number gives the default, 0.8.

    violinWidth: number

    Fraction of a cell's width the widest violin fills, in (0, 1]. When rows are short next to the column width (many features, or a short or wide widget), violinAspect can make it fill less.