R/sample_ind.R

Defines functions sample_ind

Documented in sample_ind

#' @title sample_ind
#' @description Computes the resufling of the expression values for the IDs.
#' @param x Column to be resampled
#' @param dfExpression data.frame object containing the genes expression on the rows and the individuals (Individuals in the Columns)
#' @keywords internal
#' @author Deisy Morselli Gysi <deisy at bioinf.uni-leipzig.de>


sample_ind = function(x, dfExpression){
  z = base::sample(dfExpression[,x], replace = F)
  return(z)
}

Try the wTO package in your browser

Any scripts or data that you put into this service are public.

wTO documentation built on March 31, 2023, 6:31 p.m.