Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClinicalDataViolinPlots axis starts inifinity #11178

Open
alisman opened this issue Nov 11, 2024 · 1 comment
Open

ClinicalDataViolinPlots axis starts inifinity #11178

alisman opened this issue Nov 11, 2024 · 1 comment
Assignees

Comments

@alisman
Copy link
Contributor

alisman commented Nov 11, 2024

curl 'http://localhost:8082/api/column-store/clinical-data-violin-plots/fetch?categoricalAttributeId=CANCER_TYPE&numericalAttributeId=AGE_AT_SEQ_REPORT&logScale=false&sigmaMultiplier=4' -H 'accept: application/json, text/plain, /' -H 'accept-language: en-US,en;q=0.9' -H 'cache-control: no-cache' -H 'content-type: application/json' -H 'cookie: _ga_ET18FDC3P1=GS1.1.1727902893.87.0.1727902893.0.0.0; _gid=GA1.2.1570078648.1728481898; _ga_CKJ2CEEFD8=GS1.1.1728589307.172.1.1728589613.0.0.0; _ga_5260NDGD6Z=GS1.1.1728612388.318.1.1728612389.0.0.0; _gat_gtag_UA_17134933_2=1; _ga=GA1.1.1260093286.1710808634; _ga_334HHWHCPJ=GS1.1.1728647421.32.1.1728647514.0.0.0' -H 'pragma: no-cache' -H 'priority: u=1, i' -H 'sec-ch-ua: "Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"' -H 'sec-ch-ua-mobile: ?0' -H 'sec-ch-ua-platform: "macOS"' -H 'sec-fetch-dest: empty' -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36' --data-raw '{"studyIds":["genie_public"],"alterationFilter":{"copyNumberAlterationEventTypes":{"AMP":true,"HOMDEL":true},"mutationEventTypes":{"any":true},"includeDriver":true,"includeSomatic":true,"includeUnknownTier":true,"includeGermline":true,"includeUnknownStatus":true,"includeUnknownOncogenicity":true,"includeVUS":true}}';

@onursumer
Copy link
Member

We get Infinity for only two categories and they both have zero sample count. We may want to filter out zero count categories.

{
    "category": "Malignant Rhabdoid Tumor of the Liver",
    "numSamples": 0,
    "curveData": [],
    "boxData": {
        "whiskerLower": "Infinity",
        "whiskerUpper": "-Infinity",
        "median": 0.0,
        "q1": 0.0,
        "q3": 0.0
    },
    "individualPoints": []
},
{
    "category": "Infantile Fibrosarcoma",
    "numSamples": 0,
    "curveData": [],
    "boxData": {
        "whiskerLower": "Infinity",
        "whiskerUpper": "-Infinity",
        "median": 0.0,
        "q1": 0.0,
        "q3": 0.0
    },
    "individualPoints": []
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants