| intern.permu {globalSeq} | R Documentation |
The number of permutations of n elements is n!.
This function randomly rearranges the elements it times,
and then deletes all duplicates.
Thus it finds always less than it and n! permutations.
If a confounding variable is provided,
the function uses stratified permutation.
This function is called by the functions omnibus
and proprius.
intern.permu(n, it, group, kind)
n |
Number of samples. |
it |
Number of repetitions. |
group |
Either |
kind |
computation : number between 0 and 1 |
The function returns a matrix.
A Rauschenberger, MA Jonker, MA van de Wiel, and RX Menezes (2016). "Testing for association between RNA-Seq and high-dimensional data", BMC Bioinformatics. 17:118. html pdf (open access)
This is an internal function. The user functions
are cursus, omnibus,
and proprius.
group <- as.factor(c('A','A','B','B','B'))
set.seed(1)
intern.permu(n=5,it=1000,group=group,kind=1)