react-mutation-mapper 0.8.62 → 0.8.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -7891,10 +7891,10 @@ var LollipopMutationPlot = /** @class */ (function (_super) {
|
|
|
7891
7891
|
enumerable: false,
|
|
7892
7892
|
configurable: true,
|
|
7893
7893
|
writable: true,
|
|
7894
|
-
value: function (mutationsAtPosition, countsByPosition) {
|
|
7894
|
+
value: function (mutationsAtPosition, countsByPosition, group) {
|
|
7895
7895
|
var codon = mutationsAtPosition[0].proteinPosStart;
|
|
7896
7896
|
var count = countsByPosition[codon];
|
|
7897
|
-
var countInfo = this.props.lollipopTooltipCountInfo ? (this.props.lollipopTooltipCountInfo(count, mutationsAtPosition, this.props.axisMode)) : (React__namespace.createElement("strong", null,
|
|
7897
|
+
var countInfo = this.props.lollipopTooltipCountInfo ? (this.props.lollipopTooltipCountInfo(count, mutationsAtPosition, this.props.axisMode, group)) : (React__namespace.createElement("strong", null,
|
|
7898
7898
|
count,
|
|
7899
7899
|
" mutation", "" + (count !== 1 ? 's' : '')));
|
|
7900
7900
|
var label = lollipopLabelText(mutationsAtPosition);
|
|
@@ -7992,7 +7992,7 @@ var LollipopMutationPlot = /** @class */ (function (_super) {
|
|
|
7992
7992
|
group: group,
|
|
7993
7993
|
placement: placement,
|
|
7994
7994
|
count: mutationCount,
|
|
7995
|
-
tooltip: _this.lollipopTooltip(mutations, countsByPosition),
|
|
7995
|
+
tooltip: _this.lollipopTooltip(mutations, countsByPosition, group),
|
|
7996
7996
|
color: _this.props.getLollipopColor
|
|
7997
7997
|
? _this.props.getLollipopColor(mutations)
|
|
7998
7998
|
: getColorForProteinImpactType(mutations, DEFAULT_PROTEIN_IMPACT_TYPE_COLORS, _this.props.getMutationCount, _this.props.isPutativeDriver),
|