A chunk of code that doens’t work inside a function but works outisde a function
I have a function that one of it’s duties is to is perform a batch effect correction, and that is according to the use_batch
parameter which takes a boolian value. (it’s a parameter that is passed when calling the function).