This function extract estimated cell type proportions via InteRD1 and InteRD2.

InteRD.predict.prop(InteRD.output)

Arguments

InteRD.output

An object from InteRD1 or InteRD2.

Value

Estimated cell type proportions from InteRD.

Examples

##read data
library(InteRD)
readRDSFromWeb<-function(ref) {readRDS(gzcon(url(ref)))}
urlremote<-"https://github.com/chencxxy28/Data/raw/main/data_InteRD/"
InteRD1.output<-readRDSFromWeb(paste0(urlremote,"InteRD1.output.rds"))
lambda_option<-0
cell_type_unique<-c("alpha","beta","delta","gamma")
InteRD1<-InteRD.predict.prop(InteRD.output=InteRD1.output)