shuffleData {PAA} | R Documentation |
Shuffles class labels of an EList
or EListRaw
object randomly to
obtain two random groups (e.g. "A" and "B").
shuffleData(elist=NULL, n1=NULL, n2=NULL, label1="A", label2="B")
elist |
|
n1 |
sample size of random group 1 (mandatory). |
n2 |
sample size of random group 2 (mandatory). |
label1 |
class label of random group 1 (default: |
label2 |
class label of random group 2 (default: |
Shuffles class labels of an EList
or EListRaw
object randomly to
obtain two random groups (e.g. "A" and "B").
EList
or EListRaw
object with random groups.
Michael Turewicz, michael.turewicz@rub.de
cwd <- system.file(package="PAA") load(paste(cwd, "/extdata/Alzheimer.RData", sep="")) shuffleData(elist=elist, n1=20, n2=20, label1="A", label2="B")