InteRD.predict.prop {InteRD}R Documentation

Extract the estimated proportions from InteRD

Description

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

Usage

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)


[Package InteRD version 0.1.1 Index]