BuildTargetMat: Generate a binarized target matrix

View source: R/utils.R

BuildTargetMatR Documentation

Generate a binarized target matrix

Description

Generate a binarized target matrix

Usage

BuildTargetMat(
  mrna.mat,
  mirna.mat,
  DB,
  org = "hsa",
  gene_id = "target_symbol",
  min.cutoff = 1
)

Arguments

mrna.mat

*A matrix of mRNA expression (genes at rows and samples at columns)

mirna.mat

*A matrix of miRNA expression (genes at rows and samples at columns)

DB

*A string vector showing which databases to use

org

*A string indiciating whether human or mice target data use

gene_id

*A character string showing which type of gene ID to use. Can be: target_symbol,target_entrez or target_ensembl

min.cutoff

An integer indicating minimum database predictions required for target information

Value

A binary target matrix. 1 means predicted target pair, and 0 means not.


ningb/diffreg documentation built on Jan. 20, 2025, 4:10 p.m.