pseudoreplicatesbymodel {sincell} | R Documentation

## Auxiliary function of sc_InSilicoCellsReplicatesObj function used when its parameter method="lognormal-3parameters"

### Description

Auxiliary function implemented in C++ making part of the sc_InSilicoCellsReplicatesObj function

### Usage

    pseudoreplicatesbymodel(rows, colums, alpha, vargenes, meangenes, positive, f, seed)

### Arguments

`rows` | number of rows in list "expressionmatrix" within Sincell object
`colums` | number of colums in list "expressionmatrix" within Sincell object
`alpha` | Vector containing for each gene in "expressionmatrix" the proportion of cells where expression was detected above a given threshold level (parameter "no_expr" in function sc_InSilicoCellsReplicatesObj() )
`vargenes` | Vector containing for each gene in "expressionmatrix" the variance of the expression levels in those cells where expression was detected above a given threshold level (parameter "no_expr" in function sc_InSilicoCellsReplicatesObj() )
`meangenes` | Vector containing for each gene in "expressionmatrix" the average of the expression levels in those cells where expression was detected above a given threshold level (parameter "no_expr" in function sc_InSilicoCellsReplicatesObj() )
`positive` | Force the new matrix to be positive. 1 for TRUE, 0 for FALSE
`f` | R function rnorm
`seed` | seed integer for random generation

### Value

A numeric matrix is returned as described in sc_InSilicoCellsReplicatesObj when method="lognormal-3parameters"

### See Also

sc_InSilicoCellsReplicatesObj()

[Package sincell version 1.19.0 Index]