ConvertRownameToLoci: Convert Rowname To Loci

View source: R/timer.R

ConvertRownameToLociR Documentation

Convert Rowname To Loci

Description

Processes a gene expression data matrix by modifying its row names. Extracts the gene identifier from row names formatted as 'GENE|ID', simplifying them to 'GENE'.

Usage

ConvertRownameToLoci(cancerGeneExpression)

Arguments

cancerGeneExpression

Matrix or data frame. Gene expression data with row names in the format 'GENE|ID'.

Value

Matrix with modified gene expression data with updated row names. Rows without a valid identifier are removed.

Examples

example_data <- matrix(runif(20), ncol = 5)
rownames(example_data) <- c("LOC101", "LOC102", "LOC103", "LOC104")
processed_data <- ConvertRownameToLoci(example_data)
print(processed_data)

IOBR documentation built on May 30, 2026, 5:07 p.m.