calcAcc {ADAPTS}R Documentation

Calculate prediction accuracy

Description

Calculate correlation coeffifients, p-Values, MAE, RMSE for deconvolution predictions

Usage

calcAcc(estimates, reference)

Arguments

estimates

The estimated cell percentages

reference

The reference cell percentages

Value

a list with a multiple sets

Examples

estimates <- sample(c(runif(8), 0 ,0))
estimates <- 100 * estimates / sum(estimates)
reference <- sample(c(runif(7), 0 , 0, 0))
reference <- 100 * reference / sum(reference)
calcAcc(estimates, reference)


[Package ADAPTS version 1.0.6 Index]