Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
Cross-Platform Harmonization: What Should Change After ComBat?

Before correction, the two cohorts occupied clearly different regions of the PCA space. In practice, dataset identity was almost visible from the sample positions alone.

That is a problem in cross-platform analysis because technical differences between platforms can dominate the same variation space where we want to study biology.

After ComBat, that separation was markedly reduced. The cohorts showed much greater overlap, and the proportion of variance explained by PC1 dropped from about 57% to 14%.

But that PCA change has a very specific interpretation:

The dominant dataset-associated structure became less prominent after correction.

It does not by itself prove that the harmonized matrix is biologically valid.

A Before/After PCA is therefore useful for answering one question:

Did the major cross-platform separation decrease?

If the answer is yes, the correction has altered the structure in the intended direction. Whether the corrected data should actually be accepted requires a separate validation step.

So the purpose of this PCA is not to declare harmonization “successful,” but to show that the strongest dataset-driven structure was reduced.

Many thanks to Mohanna Abbasi for creating the Targeted Cross-Platform Harmonization visualization.

#CrossPlatform #ComBat #PCA #DataHarmonization #Transcriptomics #Bioinformatics #CancerBioinformatics #ComputationalOncology
Figure titled “PCA Assessment and Batch-Correction Eligibility.” Six cohort rows (A–F) display before-correction PCA plots on the left, with samples colored by annotated sample type. Each corresponding After panel states that batch correction was not performed. PC1 and PC2 summarize the leading directions of expression variation; visible sample structure does not, by itself, establish a technical batch effect.

When PCA Suggests Structure, but Metadata Cannot Explain It

Sometimes PCA reveals visible structure in expression data while the available metadata do not explain what produced it.

During a team QC assessment of our melanoma cohorts, we examined PCA plots and their accompanying metadata. Although patterns were visible across several cohorts, no documented, reliable technical variable was available to define batches.

This matters because batch correction requires a defensible understanding of the technical variation being adjusted. Assigning batches solely from PCA clusters could remove genuine biological differences. Sample type or phenotype should not be repurposed as a technical batch variable simply because batch information is missing.

For this assessment, we did not apply ComBat. The empty After panels document that decision rather than an incomplete analysis.

Importantly, this does not prove that technical effects are absent. It means the available metadata did not support a justified correction at this stage.

The main lesson for me was that uncertainty should be documented rather than hidden behind an unsupported correction procedure.

In multi-cohort research, methodological restraint can help protect biological signals and analytical transparency.

Many thanks to Mohanna Abbasi for preparing this batch-correction assessment figure.

#BatchEffect #PCA #ComBat #DataQC #Bioinformatics #ComputationalOncology
Scatter plot titled “Cohort B | PCA by sample condition.” PC1 and PC2 show the main directions of expression variation in a representative melanoma microarray cohort. Primary samples are blue and metastatic samples orange. Several distant observations are labeled “candidate” for further QC review.

PCA, Correlation, and Distance: Three Views of Sample Structure

When examining sample structure in my melanoma project, I found that what looks unusual depends on the metric used for comparison.

A sample that appeared distant in PCA did not necessarily look equally unusual in the correlation or distance heatmaps.

These visualizations measure different aspects of expression data.

PCA summarizes the main directions of variation across samples. A sample can therefore appear isolated along PC1 or PC2 without being equally different under other measures of similarity.

Pearson correlation focuses on expression-pattern similarity: whether gene expression values tend to vary together across two samples.

Euclidean distance instead measures the overall magnitude of differences between their expression profiles.

During QC, I followed the same flagged samples across these complementary visualizations to examine whether unusual patterns were supported by multiple perspectives.

An isolated point in PCA is not automatically evidence of a technical failure. Its relationship to other samples needs further examination.

My main lesson: outlier assessment is not simply about identifying the most distant point. It requires understanding which definition of similarity makes the difference visible.

#PCA #Correlation #EuclideanDistance #DataQC #Bioinformatics #ComputationalOncology
Photo, no description
Photo, no description
Photo, no description
Photo, no description
An artistic depiction of the American flag waves above text that reads, "11th November, Veterans Day, Honoring All Who Served," with "PCA" below.
Un exercice de crise cyber n’a de valeur que s’il se déroule sur les moyens qui serviront le jour J. 

Préparer les sphères par cercle de décision, déposer à l’avance fiches réflexes et trames de notification, injecter le scénario au fil de l’eau, puis s’appuyer sur la chronologie horodatée pour le retour d’expérience : notre méthode pour s’entraîner avec #WhallerRESILIENCE 👇

#CriseCyber #ContinuitéDActivité #NIS2 #DORA #Cybersécurité #PCA #DigitalWorkplace
Three carved jack-o'-lanterns with glowing expressions are in the foreground. A silhouette of a haunted house, bare trees, and flying bats are set against a dusk sky. Text reads: "Never too old for some Halloween candy." Logo at the bottom reads "PCA."
Figure 2. Minimum number of factors to explain 95% of return variation
A job flyer that is multi colored and has pictures of enchiladas and a grocery basket full of produce. The flyer reads ' cook & grocery shopper wanted: cook vegetarian and vegan meals, eager to try new recipes, create meal plan with me and find recipes, make breakfast, lunch, and dessert weekly, grocery shopping for meals and my needs, 8 hours per a week at $18.50 per an hour, paid through Accra, prefer that you cook in your own home, and help with food bank shopping and transportation
A person sits at a hearing, appearing focused and serious. Several individuals are seated in the background. A caption humorously states, "When it occurs to you that it’s only Tuesday. A PCA logo at the bottom