logpost: logpost computes the log posterior of the CDSeq model....

Description Usage Arguments Value

View source: R/logpost.R

Description

logpost computes the log posterior of the CDSeq model. logpost outputs the value of log posterior.

Usage

1
logpost(estProp, estGEP, mydata, alpha, beta)

Arguments

estProp

CDSeq-estimated cell type proportions.

estGEP

CDSeq-estimated cell-type-specific GEPs.

mydata

input bulk RNA-seq data.

alpha

hyperparameter for cell type proportion estimation.

beta

hyperparameter for cell-type-specific GEP estimation.

Value

logpost returns log posterior values.


kkang7/CDSeq_R_Package documentation built on May 4, 2021, 8:12 p.m.