generate_disease_component: Generate disease component matrix.

View source: R/Flat_And_Dis_Comp.R

generate_disease_componentR Documentation

Generate disease component matrix.

Description

This functions produces a disease component matrix from the complete dataset and the denoised flattened normal data.

Usage

generate_disease_component(complete_ds, normal_space)

Arguments

complete_ds

Matrix containing the full dataset.

normal_space

Denoised flattened healthy tissue data.

Value

disease_component a matrix containing the disease component of the complete dataset.

Examples

full_data <- matrix(stats::rnorm(120),ncol=20)
normal_tissue <- full_data[,11:20]
normal_tissue_f <- flatten_normal_tiss(normal_tissue)
normal_tissue_f_d <- denoise_rectangular_matrix(normal_tissue_f)
disease_component <- generate_disease_component(full_data,normal_tissue_f_d)

jfores/SurvMap documentation built on May 30, 2022, 10:57 p.m.