Q (haiku):
How does ESR1 mRNA expression differ between PAM50 subtypes in TCGA breast cancer?
In Breast Invasive Carcinoma (TCGA, PanCancer Atlas), ESR1 mRNA is highest in Luminal A and Luminal B tumors, intermediate in Normal-like and HER2-enriched, and lowest in Basal-like tumors. You can see the distribution here:
[ESR1 expression by subtype](https://www.cbioportal.org/results/plots?cancer_study_list=brca_tcga_pan_can_atlas_2018&gene_list=ESR1)
Continue this conversation: reply to the user's new message.
Can you do this with METABRIC instead?
▶ list_studies
{
"search": "METABRIC",
"limit": 5
}
◀ result
{"result":[{"cancer_study_identifier":"brca_metabric","name":"Breast Cancer (METABRIC, Nature 2012 & Nat Commun 2016)","type_of_cancer_id":"brca","sample_count":2509,"has_guide":false,"url":"https://www.cbioportal.org/study/summary?id=brca_metabric"}]}
▶ resolve_and_route
{
"studyIds": [
"brca_metabric"
]
}
◀ result
{"success":true,"message":"Found 1 study. Use the metadata to call the appropriate navigation tool(s).","data":{"totalCount":1,"studiesWithMetadata":[{"studyId":"brca_metabric","name":"Breast Cancer (METABRIC, Nature 2012 & Nat Commun 2016)","sampleCount":2509,"studyViewUrl":"https://www.cbioportal.org/study?id=brca_metabric","metadata":{"clinicalAttributeIds":["AGE_AT_DIAGNOSIS","BREAST_SURGERY","CANCER_TYPE","CANCER_TYPE_DETAILED","CELLULARITY","CHEMOTHERAPY","CLAUDIN_SUBTYPE","COHORT","ER_IHC","ER_STATUS","GRADE","HER2_SNP6","HER2_STATUS","HISTOLOGICAL_SUBTYPE","HORMONE_THERAPY","INFERRED_MENOPAUSAL_STATE","INTCLUST","LATERALITY","LYMPH_NODES_EXAMINED_POSITIVE","MUTATION_COUNT","NPI","ONCOTREE_CODE","OS_MONTHS","OS_STATUS","PR_STATUS","RADIO_THERAPY","RFS_MONTHS","RFS_STATUS","SAMPLE_COUNT","SAMPLE_TYPE","SEX","THREEGENE","TMB_NONSYNONYMOUS","TUMOR_SIZE","TUMOR_STAGE","VITAL_STATUS"],"molecularProfileIds":["brca_metabric_cna","brca_metabric_methylation_promoters_rrbs","brca_metabric_mrna","brca_metabric_mrna_median_all_sample_Zscores","brca_metabric_mutations"],"heatmapProfileIds":["brca_metabric_methylation_promoters_rrbs","brca_metabric_mrna_median_all_sample_Zscores"],"availableComparisonTabs":["overlap","clinical","survival","alterations","mutations","mrna","dna_methylation"]}}]}}
▶ get_studyviewfilter_options
{
"studyId": "brca_metabric",
"attributeIds": [
"CLAUDIN_SUBTYPE",
"THREEGENE"
]
}
◀ result
{"success":true,"message":"Successfully retrieved StudyView filter options","data":{"studyId":"brca_metabric","attributes":[{"attributeId":"CLAUDIN_SUBTYPE","displayName":"Pam50 + Claudin-low subtype","description":"Pam50 + Claudin-low subtype","datatype":"STRING","values":["Basal","NA","NC","claudin-low","LumA","LumB","Normal","Her2"]},{"attributeId":"THREEGENE","displayName":"3-Gene classifier subtype","description":"3-Gene classifier subtype","datatype":"STRING","values":["ER+/HER2- Low Prolif","NA","ER-/HER2-","ER+/HER2- High Prolif","HER2+"]}]}}
▶ navigate_to_study_view
{
"studyIds": [
"brca_metabric"
],
"tab": "plots",
"plotsHorzSelection": {
"selectedGeneOption": "ESR1",
"dataType": "mrna"
},
"plotsVertSelection": {
"selectedDataSourceOption": "CLAUDIN_SUBTYPE"
}
}
◀ result
{"success":true,"message":"Navigating to https://www.cbioportal.org/study/plots?id=brca_metabric&plots_horz_selection=%7B%22selectedGeneOption%22%3A%222099%22%2C%22dataType%22%3A%22mrna%22%7D&plots_vert_selection=%7B%22selectedDataSourceOption%22%3A%22CLAUDIN_SUBTYPE%22%7D","url":"https://www.cbioportal.org/study/plots?id=brca_metabric&plots_horz_selection=%7B%22selectedGeneOption%22%3A%222099%22%2C%22dataType%22%3A%22mrna%22%7D&plots_vert_selection=%7B%22selectedDataSourceOption%22%3A%22CLAUDIN_SUBTYPE%22%7D","data":{"studyIds":["brca_metabric"],"studies":[{"studyId":"brca_metabric","name":"Breast Cancer (METABRIC, Nature 2012 & Nat Commun 2016)","sampleCount":2509}],"tab":"plots","hasFilters":false,"hasPlotsConfig":true,"pageDescription":"Scatter/box plots: data (y-axis) by ESR1 mrna (x-axis)."}}
═ answer (success)
[View ESR1 mRNA expression by PAM50 subtype in METABRIC](https://www.cbioportal.org/study/plots?id=brca_metabric&plots_horz_selection=%7B%22selectedGeneOption%22%3A%222099%22%2C%22dataType%22%3A%22mrna%22%7D&plots_vert_selection=%7B%22selectedDataSourceOption%22%3A%22CLAUDIN_SUBTYPE%22%7D)
This will display a scatter plot showing ESR1 mRNA levels (x-axis) stratified by PAM50 subtype (y-axis) across the 2,509 METABRIC samples. Like TCGA, you should see ESR1 expression highest in Luminal A/B tumors and lowest in Basal-like tumors, reflecting the estrogen receptor dependence of these molecular subtypes.