deriveWeights: Compute gene weights

Description Usage Arguments Value

View source: R/deriveWeights.R

Description

Compute gene weights from pre-defined biological noise estimates and from raw count/ error-model-defined technical noise estimates

Usage

1
2
3
4
5
6
deriveWeights(
  norm,
  raw = NULL,
  error.model = "dsp",
  weight.by.TIL.resid.sd = FALSE
)

Arguments

norm

Matrix of data used in decon. Used to define the gene list and the shape of the output "wts" matrix.

raw

Matrix of raw data. If provided, used to define technical noise

error.model

Which error model to use. Defaults to "dsp"

weight.by.TIL.resid.sd

If TRUE, then genes are weighted in part based on their biological variability as estimated by their residual SD from decon performed on TCGA.

Value

A matrix of weights, in the same dimension as norm


SpatialDecon documentation built on Nov. 8, 2020, 6 p.m.