generate_disease_component | R Documentation |
This function produces a disease component matrix from an expression matrix and the denoised flattened matrix constructed from "healthy tissue data".
generate_disease_component(full_data, normal_space)
full_data |
Input matrix whose columns correspond to the patients and rows to the gens. Both tumour and healthy samples should be included. |
normal_space |
Denoised flattened matrix constructed from
"healthy tissue data". Output of the function |
Disease component matrix that contains the disease component of the provided normal space
full_data <- matrix(stats::rnorm(120),ncol=20)
normal_tissue <- t(full_data)
normal_tissue_f <- flatten_normal_tiss(normal_tissue)
normal_tissue_f_d <- denoise_rectangular_matrix(normal_tissue_f, gamma=NA)
disease_component <- generate_disease_component(t(full_data),normal_tissue_f_d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.