Nothing
#' Hardy-Weinbery Wrapper
#'
#' Wrapper for main HWE function
#' @param Tab Data frame of genotype files post processing.
#' @param Output Data return carryover from main BIGDAWG function
#' @param Verbose Summary display carryover from main BIGDAWG function
#' @note This function is for internal BIGDAWG use only.
HWE.wrapper <- function(Tab,Output,Verbose) {
HWE <- HWE(Tab)
if(Output) {
sink("HWE.txt")
print(HWE,quote=F)
sink()
}
cat("\n> HARDY-WEINBERG ANALYSIS COMPLETED\n")
if(Verbose) {
cat("\nControls (Group 0):\n")
HWE.con <- as.data.frame(HWE[['controls']])
print(HWE.con,row.names=F,quote=F)
cat("\nCases (Group 1):\n")
HWE.cas <- as.data.frame(HWE[['cases']])
print(HWE.cas,row.names=F,quote=F)
cat("\n")
}
return(HWE)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.