MeDuSA_VarExplain: MeDuSA_VarExplain: the function to estimate explained...

View source: R/MeDuSA_VarExplain.R

MeDuSA_VarExplainR Documentation

MeDuSA_VarExplain: the function to estimate explained variances of bulk RNA-seq data by the reference scRNA-seq data.

Description

MeDuSA_VarExplain: the function to estimate explained variances of bulk RNA-seq data by the reference scRNA-seq data.

Usage

MeDuSA_VarExplain(MeDuSA_obj, maxiter = 1000, ncpu = 4)

Arguments

MeDuSA_obj

The MeDuSA object.

maxiter

The iteration number of REML. Default by 1e+4.

ncpu

The number of cpu cores to be used.

Value

MeDuSA returns:

  • MeDuSA_Object@VarianceExplain$VarExplain: A numeric vector of the explained variances of bulk RNA-seq data by the reference scRNA-seq data.

  • MeDuSA_Object@VarianceExplain$Chi_VarExplain: A numeric vector of the corresponding squared-chi-value of the explained variances.

  • MeDuSA_Object@VarianceExplain$Pval_VarExplain: A numeric vector of the corresponding p-value of the explained variances.


LeonSong1995/MLM documentation built on March 13, 2024, 1:21 p.m.