Learn R Programming

InteRD (version 0.1.1)

InteRD.predict.prop: Extract the estimated proportions from InteRD

Description

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

Usage

InteRD.predict.prop(InteRD.output)

Value

Estimated cell type proportions from InteRD.

Arguments

InteRD.output

An object from InteRD1 or InteRD2.

Examples

Run this code
##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)

Run the code above in your browser using DataLab