cor_adjust: Calculates gene-to-gene and cell-to-cell SAVER correlation

Description Usage Arguments Details Value Examples

Description

Adjusts for SAVER estimation uncertainty by calculating and adjusting gene-to-gene and cell-to-cell correlation matrices

Usage

1
2
3
cor.genes(x, cor.mat = NULL)

cor.cells(x, cor.mat = NULL)

Arguments

x

A saver object.

cor.mat

If a correlation matrix of the SAVER estimates was already obtained, then it can be provided as an input to avoid recomputation.

Details

The SAVER estimates that are produced have varying levels of uncertainty depending on the gene and the cell. These functions adjust the gene-to-gene and cell-to-cell correlations of the SAVER estimates to reflect the estimation uncertainty.

Value

An adjusted correlation matrix.

Examples

1
2
3
data("linnarsson_saver")

gene.cor <- cor.genes(linnarsson_saver)

SAVER documentation built on Nov. 14, 2019, 1:06 a.m.