classifyT1BC: Classify T1 bladder cancer samples

View source: R/classifyT1BC.R

classifyT1BCR Documentation

Classify T1 bladder cancer samples

Description

This samples provides class calls and class probabilities given log-transformed normalized expression data. The expression data must be in the form of a matrix of data.frame, where rows are genes and columns are samples.

Usage

classifyT1BC(gexp, id_type = c("symbol", "ensembl_id", "entrez_id")[1])

Arguments

gexp

a matrix or data.frame with rows as genes and columns as samples.

id_type

type of gene annation used in the expression matrix. One of: "symbol", "ensembl_id" or "entrez_id" for HGNC symbol, ENSEMBL gene ID, and Entrez Gene ID, respectively.

Value

A data.frame with 'ncol(gexp)' rows and 8 columns: * 'id' contains the colnames of the original expression matrix * 'class' contains the class prediction for the sample * 'class_prob' shows the model probability for the assigned class * 'cl_1_prob' to 'cl_2_prob' contain the probabilities for each class


csgroen/classifyT1BC documentation built on Jan. 25, 2025, 11:01 p.m.