pi_estimation: A function to get robust cell-type composition estimation...

Description Usage Arguments Value

View source: R/pi_estimation.R

Description

A function to get robust cell-type composition estimation based on the prior estimates and transcriptomic data.

Usage

1
pi_estimation(expression_matrix, n_iteration, prior)

Arguments

expression_matrix:

G by N gene expression matrix for estimating cell type composition of the tissue. Each row is a gene and each column is tissue sample. Gene name and sample ID can be included as row and column names, but not in the expression matrix.

n_iteration:

Number of bootstrap samples to estimate the Pi.

prior:

Prior estimation of cell-type composition.

Value

Updated cell-type composition estimates.


JiayiJi/MiXcan documentation built on Dec. 18, 2021, 1:30 a.m.