trainSexLab: Train a sex labeling classifier using input training data.

Description Usage Arguments Value

View source: R/runSexLab.R

Description

Train a sex labeling classifier using input training data.

Usage

1
2
trainSexLab(train_dat, train_lab, female_genes = NULL,
  male_genes = NULL, cut_frac = "1st Qu.")

Arguments

train_dat

training data frame - rows are genes (entrez id), columns are samples, values are ranks

train_lab

named list of training labels - 0 for female, 1 for male

female_genes

a list of female-specific genes (entrez id), if not provided - default genes will be used

male_genes

a list of male-specific genes (entrez id), if not provided, default genes will be used

cut_frac

Value

fit


erflynn/exprsex documentation built on Feb. 23, 2020, 2:34 a.m.