complete_m: Harmonizes the matrix of cell expression profiles with...

Description Usage Arguments Details Value

View source: R/funs_RWR.R

Description

Remove all the genes that don't match between the cell expression profiles and the nodes inside the network

Usage

1
complete_m(m_profiles, net)

Arguments

m_profiles

numeric matrix of profiles, rows are genes, column is a cell or sample, value is numeric indicating a gene expression in a cell column and profile

net

adjacency matrix of the CIN network (it has to contain nodes with the same names of genes characterizing the input cell profiles)

Details

Given an expression matrix of one or multiple profiles at the columns and genes located at the rows: The method keeps only the genes that exist also in the network (CIN) This because only existing genes in the cell profile can give information to the corresponding nodes in the network and allow the propagation

Value

matrix of profiles without the rows that are not represented by a node in the network


LucaGiudice/Esearch3D documentation built on Dec. 17, 2021, 1:12 a.m.