data_pre: Data preprocessing

View source: R/data_pre.R

data_preR Documentation

Data preprocessing

Description

data_pre This function selects matched genes and scales gene expression values (maximum=1, minimum=0).

Usage

data_pre(input.path, type = c("Symbol", "ID"))

Arguments

input.path

The input file is a tab-delimited text file containing the gene expression profiling data in which each row is a gene and each column is a tumor sample.

type

Character string indicating which gene identifier to use when matching.

Details

The "input.path" refers to the path for input file. The "type" refers to official gene symbol or Entrez gene ID.

Value

A m*n matrix contains the expression values of n matched genes in m tumor samples.

Author(s)

Lin Li <cpu_lilin@126.com>, Xiaosheng Wang <xiaosheng.wang@cpu.edu.cn>

Examples

path = system.file("extdata", "example.txt", package = "PreMSIm", mustWork = TRUE)
data_pre(path, type = "ID")

WangX-Lab/PreMSIm documentation built on Oct. 16, 2024, 1:40 a.m.