#' printConfusionMatrix
#'
#' @description A function that prints the confusion matrix obtained with a TFBS model
#'
#' @return Confusion matrix
#'
#' @noRd
printConfusionMatrix <- function(TFBSmodel){
print(caret::confusionMatrix(as.factor(TFBSmodel$xgbpred), as.factor(TFBSmodel$ts_label)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.