rarify function - sort output

Offen
#58 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
r
Bereich
data

Rechercherichtung

Start by locating the rarify function and its example, then read how it currently orders results and handles the random seed. The request is to return results sorted by sample ID ascending, abundance descending, and taxa name ascending, include the original data, and use a default seed in Shiny unless disabled. Done means the output matches those requirements and the example shows the old and new counts together.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

Is your feature request related to a problem? Please describe.
Data output is the same order as the input. Would be easier to look at if sorted.

Describe the solution you'd like
Sort output from largest to smallest (sample.ID [asc], abund [desc],taxa name [asc]), . Easier to see the changes. And include the original data in the output (same as in the example).

Describe alternatives you've considered
The current example has the old and new counts together. Users prefer the results to be presented this way.

Additional context
If sort the data prior to using internal functions the same data (even sorted differently) will produce the same results (with the same seed).

For Shiny use a default seed unless turn off.

Vorherrschende Sprache
R
Sterne
15
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus leppott/BioMonTools

Alle Issues in leppott/BioMonTools

Ähnliche Issues

Weitere Issues zu R

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.