Arguments
pc_data_scores
2D NumericMatrix of PCA scores data (from the
prcomp$x
slot), rows = samples, cols = PC scores
group
The structure of the experiment, consisting of batch numbers and
treatment numbers forming 2 rows or columns (HarmanMain works out which).
Each entry for a sample describes what batch it came from and what treatment
it was given. Has to be integer formated data.
limit
A double precsion value indicating the limit of confidence in
which to stop removing a batch effect
numrepeats
The number of repeats in which to run the simulated batch
mean distribution estimator. Probably should be greater than 100,000.
randseed
Random seed to pass to the random number generator (0 for use
default from system time)
printInfo
Print update information to screen