Nothing
NullObject.parameters <- function(pheno, RVAT, pheno.type = c("categorical", "continuous"), ref.level, data, formula){
pheno.type <- match.arg(pheno.type)
if(missing(data)) data <- NULL
if(missing(formula)) formula <- NULL
if(!(pheno.type %in% c("categorical", "continuous"))) stop("'pheno.type' should be 'categorical' or 'continuous'")
if(!(RVAT %in% c("burden", "SKAT"))) stop ("'RVAT' should be 'burden' or 'SKAT'")
if(pheno.type == "categorical"){
if (!is.factor(pheno)) stop("'pheno' is not a factor")
pheno <- droplevels(pheno)
if(nlevels(pheno)==1) stop("Only one group of individuals, association tests cannot be run")
if(RVAT == "burden"){
if(is.null(ref.level)) stop("'ref.level' should be specified for the multinomial regression")
NullObject.params <- burden.NullObject(group = pheno, ref.level = ref.level, data = data, formula = formula)
}
if(RVAT == "SKAT") NullObject.params <- SKAT.NullObject(group = pheno, data = data, formula = formula)
}
if(pheno.type == "continuous"){
if(RVAT == "burden") NullObject.params <- burden.NullObject.continuous(pheno = pheno, data = data, formula = formula)
if(RVAT == "SKAT") NullObject.params <- SKAT.NullObject.continuous(pheno = pheno, data = data, formula = formula)
}
tt <- list(pheno.type = pheno.type)
return(c(NullObject.params, tt))
}
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.