ylim argument in plotAbundanceCurve has no effect

Issue #105 resolved
Julian Zhou created an issue

Despite that ylim can be specified as an argument for plotAbundanceCurve, it is never referenced inside the function call. As a result, ylim cannot be adjusted customarily when calling plotAbundanceCurve.

Proposed solution: add limits=ylim to all scale_y_continuous. E.g.:

scale_y_continuous(labels = scales::percent, limits=ylim)

Comments (2)

  1. ssnn

    Hi @Julian Zhou Thanks for reporting. I updated plotAbundanceCurve and plotDiversityCurveto use the axis limits inside coord_cartesianto zoom without removing data.

    The figures on the left use limits=ylim, the ones on the right coord_cartesian.

  2. Log in to comment