Nothing
#' phenotypeData class
#'
#' Phenotype data
#'
#' @details Always a named list of two elements
#' \enumerate{
#' \item \code{y} numeric vector, phenotype
#' \item \code{yInfo} data.frame, additional information about observations
#' provied in .fam file
#' }
#'
#' @seealso \code{\link{read_phenotype}}
#' @name phenotypeData
NULL
#' Print phenotypeData class object
#'
#' @param x \code{\link{phenotypeData}} class object
#' @param ... Further arguments to be passed to or from other methods. They are ignored in this function.
#' @export
#'
#' @return No return value, called for side effects
#'
#' @method print phenotypeData
print.phenotypeData <- function(x, ...){
cat("Object of class phenotypeData\n")
cat("$y: numeric vector of size", length(x$y), "\n")
cat("$yInfo: data.frame\n")
cat("\t", nrow(x$yInfo), " rows\n")
cat("\t", ncol(x$yInfo), " columns\n")
}
#' Summary phenotypeData class object
#'
#' @param object \code{\link{phenotypeData}} class object
#' @param ... Further arguments to be passed to or from other methods. They are ignored in this function.
#' @export
#'
#' @return No return value, called for side effects
#'
#' @method summary phenotypeData
summary.phenotypeData <- function(object, ...){
cat("Object of class phenotypeData\n")
cat("$y: numeric vector with phenotype of length", length(object$y), "\n")
cat("$yInfo: matrix with additional information\n")
cat("\t", nrow(object$yInfo), " observations\n")
cat("\t", ncol(object$yInfo), " variables\n")
}
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.