Skip to content

tidybulk Replace pivot_* with subset_* #181

Closed
tidyomics/tidySummarizedExperiment
#121

Description

@stemangiola

I think subset_transcripts and subset_samples would be more clear and in line with tidyverse. @mblue9 concerns?

Activity

  1. mblue9 commented on May 6, 2021

    @mblue9
    Member

    I think subset_transcripts and subset_samples would be more clear and in line with tidyverse. @mblue9 concerns?

    Nope no concerns just wondering what you mean by it would be more in line with tidyverse?

  2. stemangiola commented on May 6, 2021

    @stemangiola
    CollaboratorAuthor

    just wondering what you mean by it would be more in line with tidyverse?

    For example, the filter function from dplyr mention the word subset https://dplyr.tidyverse.org/reference/filter.html

    Plus subset is more comprehensible by the general audience than pivot, which is a quite abstract term. This is a vocabulary choice, and there is no right answer.

    What do you think and user?

  3. mblue9 commented on May 7, 2021

    @mblue9
    Member

    For example, the filter function from dplyr mention the word subset https://dplyr.tidyverse.org/reference/filter.html

    Plus subset is more comprehensible by the general audience than pivot, which is a quite abstract term. This is a vocabulary choice, and there is no right answer.

    What do you think and user?

    Maybe subset_ is easier to understand. Or in that case why not use select (select_transcripts and select_samples) as it is mainly acting on columns so would select be more in line with tidyverse?

    Although I wonder if some might think it's a function for subsetting/selecting transcripts/samples of interest? So could use select_transcript_columns and select_sample_columns to be clear or would that be too long?

    But I don't have a strong preference here for pivot/subset/select.

  4. changed the title [-]Replace pivot_* with subset_*[/-] [+]Replace pivot_* with select_columns_*[/+] on Aug 31, 2023
  5. changed the title [-]Replace pivot_* with select_columns_*[/-] [+]`tidybulk` Replace pivot_* with select_columns_*[/+] on Aug 31, 2023
  6. changed the title [-]`tidybulk` Replace pivot_* with select_columns_*[/-] [+]`tidybulk` Replace pivot_* with subset_*[/+] on Apr 4, 2025
  7. self-assigned this
    on Mar 17, 2026
  8. stemangiola commented on Mar 17, 2026

    @stemangiola
    CollaboratorAuthor

    This has been done at the tidySE level.

    tidyomics/tidySummarizedExperiment#121

    with subset_feature_data and subset_sample_data

    Eventually, the current functions will be deprecated from tidybulk

  9. linked a pull request that will close this issueUse tidyprint #121on Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions