Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

removeBatcheffect

python scripts to remove batch effect

This function is exactly the same as removeBatchEffect function in limma

limma(pheno, exprs, covariate_formula, design_formula='1', rcond=1e-8):

parameters:

pheno: the metadata as a table

exprs: the expression profile, the rows are the genes and the columns are the cells.

covariate_formula: is an expression of the variance you want to keep. (columns in the metadata table).

design_formula: is an expression of the variance you want to remove. i.e. the batch.

example:

regressed=limma(pheno, exprs, "~ age + cancer -1", "C(batch)")

About

python scripts to remove batch effect

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages