GetPrior: Get prior knowledge for supported tissue types

Description Usage Arguments Value Author(s) References Examples

View source: R/GetPrior.R

Description

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

Usage

1
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 <ziyi.li@emory.edu>

References

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

Examples

1
2
3
4
5
GetPrior("human pbmc")
GetPrior("human liver")
GetPrior("human brain")
GetPrior("human skin")
GetPrior("human pancreas")

TOAST documentation built on Nov. 8, 2020, 5:55 p.m.