Skip to contents

Generates the replication matrix based on the minimum and maximum replication counts.

Usage

generateReplicationMatrix(list_var, min_replicates, max_replicates)

Arguments

list_var

Number of samples

min_replicates

Minimum replication count

max_replicates

Maximum replication count

Value

Replication matrix

Examples

list_var = init_variable()
#> Variable name should not contain digits, spaces, or special characters.
#> If any of these are present, they will be removed from the variable name.
generateReplicationMatrix(list_var, min_replicates = 2, max_replicates = 4)
#>       [,1]  [,2]
#> [1,]  TRUE  TRUE
#> [2,]  TRUE  TRUE
#> [3,]  TRUE  TRUE
#> [4,] FALSE FALSE