View source: R/Flat_And_Dis_Comp.R
generate_disease_component | R Documentation |
This functions produces a disease component matrix from the complete dataset and the denoised flattened normal data.
generate_disease_component(complete_ds, normal_space)
complete_ds |
Matrix containing the full dataset. |
normal_space |
Denoised flattened healthy tissue data. |
disease_component a matrix containing the disease component of the complete dataset.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.