estimateRsqr.pRRopheticCv: R^2 from "pRRopheticCv" object.

View source: R/compute_phenotype_function.R

estimateRsqr.pRRopheticCvR Documentation

R^2 from "pRRopheticCv" object.

Description

Given an object of class "pRRopheticCv", i.e. the output of cross validation, calculate the R^2 value for the prediction (an estimate of prediction accuracy).

Usage

estimateRsqr.pRRopheticCv(cvOutData, powerTranform = TRUE)

Arguments

cvOutData

an object of class "pRRopheticCv", i.e. the outpout of the "predictionAccuracyByCv()" function

powerTranform

powerTranform phenotype or not.

Value

a numeric vector containing the R squared value from the cross validation.


SiYangming/pRRophetic documentation built on July 13, 2022, 10:36 p.m.