logpost {CDSeq}R Documentation

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

Description

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

Usage

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.


[Package CDSeq version 1.0.8 Index]