prepare_representaive_samples: Prepare the expression matrix to contain representative...

View source: R/prepare.R

prepare_representaive_samplesR Documentation

Prepare the expression matrix to contain representative samples

Description

Representative samples are generated considering the expression mean across all samples

Usage

prepare_representaive_samples(expr.matrix, sample.descr, save.file = T,
  rep.NA = 1e-17,
  filename = "expr.matrix.representative.sample.mean.txt")

Arguments

expr.matrix

a gene expression matrix

sample.descr

a sample annotation data.frame containing cancer type or cancer subtype information

save.file

if True the matrix with representative samples with be saved.

rep.NA

value to replace NAs. Default 1e-17

filename

Name for the outuput expression matrix file.

Value

Return a expression matrix of the representative samples.


lawrenson-lab/CaCTS documentation built on Jan. 30, 2023, 7:38 a.m.