A method to generate binary data randomly
randomGenerateBinary(genelist = c(), maxState = 0)
An vector of genes
that should be less that 2^length(genelist)
individualgenes<-c('a','b','c')
testdata2 <- randomGenerateBinary(individualgenes,maxState = 4)
testdata2
#> [[1]]
#> a b c
#> 1 0 0
#>
#> [[2]]
#> a b c
#> 1 0 1
#>
#> [[3]]
#> a b c
#> 1 0 0
#>
#> [[4]]
#> a b c
#> 0 1 0
#>