trainDataProc: trainDataProc

View source: R/ModelSeries_fitModels.R

trainDataProcR Documentation

trainDataProc

Description

Binary data preprocessing based on expression matrix and real clustering

Usage

trainDataProc(
  Xmat,
  Yvec,
  geneSet,
  subtype = 1,
  ptail = 0.5,
  breakVec = c(0, 0.25, 0.5, 0.75, 1)
)

Arguments

Xmat

Matrix of gene expression, samples in columns, genes in rows

Yvec

Vector of phenotype, strings, 1, 2, etc

geneSet

A list of genes for classification

subtype

cluster name, string '1', as in Yvec

ptail

Binary phenotype vector.

breakVec

vector of break points, used to bin expression data

Value

List of Xbin and Ybin, the binned, subset, and binarized values.


huangwb8/GSClassifier documentation built on July 12, 2024, 5:10 p.m.