pseudoreplicatesbynoise_cv2: Auxiliary function of sc_InSilicoCellsReplicatesObj function...

Description Usage Arguments Value See Also

View source: R/RcppExports.R

Description

Auxiliary function implemented in C++ making part of the sc_InSilicoCellsReplicatesObj function when its parameter method="cv2.deciles"

Usage

1
2
pseudoreplicatesbynoise_cv2(originaldata, rows, colums, deciles, lengthdeciles, 
  coorsorted, vargenessorted, means, positive, seed)

Arguments

originaldata

"expressionmatrix" within Sincell object: numeric matrix containing a gene expression matrix gathering the expression levels of each single-cell in the experiment (displayed by columns) for each detected gene (displayed by rows)

rows

number of rows in list "expressionmatrix" within Sincell object

colums

number of colums in list "expressionmatrix" within Sincell object

deciles

array containing the indexes indicating the limits of the deciles based on mean of gene expression

lengthdeciles

length(deciles)

coorsorted

order of permutated indexes

vargenessorted

Vector containing for each gene in "expressionmatrix" the squared coefficient of variation cv2 of the expression levels. Order of genes corresponds to mean expression levels (increasing order)

means

Vector containing for each gene in "expressionmatrix" the mean of the expression levels. Order of genes corresponds to mean expression levels (increasing order)

positive

Force the new matrix to be positive. 1 for TRUE, 0 for FALSE

seed

seed integer for random generation

Value

A numeric matrix is returned as described in sc_InSilicoCellsReplicatesObj when method="cv2.deciles"

See Also

sc_InSilicoCellsReplicatesObj()


sincell documentation built on Nov. 8, 2020, 5:58 p.m.