Search
Question: plotMDS Input Feature Filtering
0
gravatar for Dario Strbenac
8 months ago by
Dario Strbenac1.4k
Australia
Dario Strbenac1.4k wrote:

When examining the most variable genes for a clinical cancer dataset generated as batches on different days, I notice that the genes are mainly ones located on the X and Y chromosomes such as XIST, UTY, and ZFY. Is it common practice to subset the matrix to remove these before making MDS plots, as they may mask more subtle variations between RNA-seq experiments done on different days? The edgeR workflow uses a dataset of all female mouse samples, so doesn't have such as issue and the vignette's oral squamous cell carcinoma dataset doesn't make any clinical details public. Is using only a set of widely accepted housekeeping genes a better approach that a set of the most variable ones?

ADD COMMENTlink modified 8 months ago by Gordon Smyth32k • written 8 months ago by Dario Strbenac1.4k
2
gravatar for Aaron Lun
8 months ago by
Aaron Lun17k
Cambridge, United Kingdom
Aaron Lun17k wrote:

Is there a reason why you can't run removeBatchEffect on the log-CPMs prior to visualization, to eliminate the batch effect? This would solve the problem more directly than trying to pick genes to discard. In your specific case, it sounds like you have a sex effect, which may or may not be related to the batch structure.

If blocking is not possible, I often remove highly variable genes that are not biologically interesting. This includes X/Y-chromosome genes in the presence of sex effects, variable immunoglobulin segments when studying B cells, and ribosomal proteins strongly affected by technical differences in library preparation. As long as the removal can be justified (by some other reason than "it was highly variable"), I don't see a problem.

I don't see the benefit of using a set of housekeeping genes for visualizing differences between samples. You'd just end up with a big homogeneous clump of samples in the middle of the MDS plot, without capturing any of the biological structure present in the expression profiles of DE genes.

ADD COMMENTlink modified 8 months ago • written 8 months ago by Aaron Lun17k

Certainly, I could. I wanted to see if there was an obvious batch effect before I applied batch effect correction, because I like to try and avoid between-sample normalisation if it's there's no clear difference. The first batch has 14 male and 4 female samples, whereas the second has 21 male and 21 female samples. I'll include gender as a term in the design matrix, since there are both genders assayed in both batches. The batches were prepared by the sample RNA-seq protocol.

ADD REPLYlink written 8 months ago by Dario Strbenac1.4k
2
gravatar for Gordon Smyth
8 months ago by
Gordon Smyth32k
Walter and Eliza Hall Institute of Medical Research, Melbourne, Australia
Gordon Smyth32k wrote:

Yes, it would make sense to filter out the sex-linked genes to see more clearly what the batch effect looks like with the sex inbalance removed.

In our practice, we frequently filter out sex-linked genes when (i) the experimental conditions are not themselves sex-linked in their effects but (ii) both male and female samples are included in the study. We do this for the whole analysis, not just temporarily for the MDS plot. Our working definition of sex-linked genes is XIST plus the Y chromosome.

Including sex as a predictor in the design matrix is the alternative, but removing sex-linked genes often works better for small-scale studies because the sex-linked genes are small in number and well defined.

In your case you have enough samples to take either approach, but I would be tempted to remove the sex-linked genes.

Like Aaron, I don't see any purpose in restricting to house-keeping genes. That would seem to defeat the purpose of the MDS plot.

ADD COMMENTlink modified 8 months ago • written 8 months ago by Gordon Smyth32k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 100 users visited in the last hour