This function corrects a gene expression matrix prior to network inference by returning the residuals after regressing out the top principal components. The number of principal components to remove can be determined using a permutation-based approach using the "num.sv" function with method = "be"
The uncorrected normalized gene expression data matrix with samples in rows and genes in columns
The number of principal components to remove
dat.adjusted Cleaned gene expression data matrix with the top prinicpal components removed
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.