GetPrior: Get prior knowledge for supported tissue types

View source: R/GetPrior.R

GetPriorR Documentation

Get prior knowledge for supported tissue types

Description

Users can use this function to get priors provided in this package. Users can also directly specify tisuse type in MDeconv function.

Usage

GetPrior(alpha = NULL, sigma = NULL)

Arguments

alpha

A string chosen from "human pbmc","human liver", "human brain", "human pancreas", "human skin", or a nuemric vector for manually specified alpha.

sigma

Keep it as NULL for supported tissues. Otherwise a numeric vector for manuallly specified sigma.

Value

alpha_prior

Prior knowledge for the mean of proportions.

sigma_prior

Prior knowledge for the sigma of proprotions.

Author(s)

Ziyi Li <zli16@mdanderson.org>

References

Ziyi Li, Zhenxing Guo, Ying Cheng, Peng Jin, Hao Wu. "Robust partial reference-free cell compoisiton estimation from tissue expression profiles."

Examples

GetPrior("human pbmc")
GetPrior("human liver")
GetPrior("human brain")
GetPrior("human skin")
GetPrior("human pancreas")

ziyili20/TOAST documentation built on Aug. 28, 2022, 11:28 a.m.