**0**wrote:

Dear All,

I currently try to use IHW for multiple testing correction of my association study that associates gene expression of various genes with a binary molecular signature. As covariate for adjusting for multiple testing, I take the variance of the expression of each gene across all samples, but as a result the adjusted p-values are the same as after normal Benjamini-Hochberg adjustment, and the weight does not change across strata: https://imgur.com/a/EtNSZm5.

My data does not look like the examples shown in the IHW vignette (see P-values over rank of the covariate: https://imgur.com/a/prGaWnL). However, I would still like to do the same adjustment as applied in the vignette, i.e. get a smaller p-value for those genes with high variance.

I am now not sure what the problem is: Can I not use the variance of gene expression as covariate here? Is there just no difference due to variance (what I would not expect)? Or do I do sth completely wrong?

Here is my code, and you can find the pfins dataset here (every row is one gene): https://www.dropbox.com/s/bs8oehc17qwkbkr/pfins.tsv?dl=0

library("IHW") pfin = read.table('pfins.tsv', sep='\t', header=TRUE, row.names = 1) ihwRes <- ihw(p ~ var, data = pfin, alpha = 0.1) pfin$padj = adj_pvalues(ihwRes) pfin$BH = p.adjust(pfin$p, method = "BH") head(pfin) plot(ihwRes) ggplot(aes(x = rank(var), y = -log10(p)), data=pfin) + geom_hex(bins = 100) + ylab(expression(-log[10]~p))

I would appreciate any help a lot, many thanks!

Best regards,

Lara

**13k**• written 7 months ago by lara.h.urban •

**0**

The second link should be https://imgur.com/a/prGaWnL - no right parenthesis.

13k