minimalist_preproc: Minimalist preprocessing to MoPc

View source: R/minimalist_preproc.R

minimalist_preprocR Documentation

Minimalist preprocessing to MoPc

Description

Minimalist preprocessing to MoPc

Usage

minimalist_preproc(mat1, mat2, mat3)

Arguments

mat1

The first matrix. Usually mRNA matrix with samples on the columns and genes on the rows. The gene names must be in the "common name" format (e.g., ABL1)

mat2

The second matrix. Usually prot matrix with samples on the columns and proteins on the rows. The protein names must be in the "common name" format (e.g., ABL1)

mat3

The third matrix. Usually miRNA matrix with samples on the columns and miRNAs on the rows. The miRNA names must be in the "hsa-miR-XXXXXX" format (e.g., hsa-miR-200c-3p)

Value

It quits the execution if there are not enough samples or genes to proceed. Otherwise, it returns a list with the three matrices, properly subset to common genes and common samples.

Examples

d <- minimalist_preproc(rna, prot, mirna)


martalovino/MoPc documentation built on May 30, 2022, 4:11 p.m.