adj_CDF_logit {scpoisson}R Documentation

A novel data representation based on Poisson probability

Description

This function returns a matrix of a novel data representation with the same dimension as input data matrix.

Usage

adj_CDF_logit(data, change = 1e-10, ...)

Arguments

data

A UMI count data matrix with genes as rows and cells as columns or an S3 object for class 'scppp'.

change

A numeric value used to correct for exactly 0 and 1 before logit transformation. Any values below change are set to be change and any values above 1- change are set to be 1- change.

...

not used.

Details

This is a function used to calculate model departure as a novel data representation.

Value

A matrix of departure as a novel data representation (matrix as input) or an S3 object for class 'scppp' (scppp object as input; departure result will be stored in object scppp under "representation").

Examples

# Matrix as input
test_set <- matrix(rpois(500, 0.5), nrow = 10)
adj_CDF_logit(test_set)
# scppp object as input
adj_CDF_logit(scppp(test_set))


[Package scpoisson version 0.0.1 Index]