#' @describeIn rqcCycleAverageQualityPcaPlot calculates necessary statistics
#' @export
rqcCycleAverageQualityPcaCalc <- function(rqcResultSet)
{
df <- rqcCycleAverageQualityCalc(rqcResultSet)
df.wide <- dcast(df, cycle ~ filename, value.var = "quality")
fit <- prcomp(~ ., data=df.wide[,-1, drop=FALSE])
return(fit)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.