Skip to content

Rationale for decreasing order only in GSEA  #58

@Nelson-Gon

Description

@Nelson-Gon

Prerequisites

  • Have you read Feedback and follow the guide?
    • make sure your are using the latest release version
    • read the documents
    • google your quesion/issue

Describe you issue

In performing GSEA, it seems the default is to have the genes sorted in decreasing order:

DOSE:::is.sorted
function (x, decreasing = TRUE) 
{
    all(sort(x, decreasing = decreasing) == x)
}

However, per the original paper, it seems the order should not matter i.e. whether ascending or descending. I would like to know if it is possible to support a non-decreasing sorted gene list or perhaps what the rationale is for a decreasing only gene sort.

This could be related to YuLab-SMU/clusterProfiler#214, YuLab-SMU/clusterProfiler#91, and YuLab-SMU/clusterProfiler#48.

Thank you,

NelsonGon

  • Make a reproducible example (e.g. 1)
  • your code should contain comments to describe the problem (e.g. what expected and actually happened?)

Ask in right place

  • for bugs or feature requests, post here (github issue)
  • for questions, please post to Bioconductor or Biostars with tag DOSE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions