lp_norm_k_powers_surv | R Documentation |
A filtering function for mapper that projects $$R$^n$ into $R$. It calculates for each column of the matrix (each patient), its value of the filtering function. Specifically, it computes the vector magnitude in the Lp norm (as well as k powers of this magnitude) of the vector resulting of weighting each element of the column vector by the Z score obtained by fitting a cox proportional hazard model to the level of each gene. For further information see "Progression Analysis of Disease with Survival (PAD-S) by SurvMap identifies different prognostic subgroups of breast cancer in a large combined set of transcriptomics and methylation studies"
lp_norm_k_powers_surv(genes_disease_component, p, k, cox_all_matrix)
genes_disease_component |
Disease component matrix (output of the function of
|
p |
integer. It indicates the p norm to be calculated. If k = 1 and p = 2, the function computes the standard (Euclidean) vector magnitude of each column. For larger values of p the weight of genes with larger levels is greater. |
k |
integer. Powers of the vector magnitude. If k = 1 and p = 2, the function computes the standard (Euclidean) vector magnitude of each column. |
cox_all_matrix |
A matrix with the output of the
|
A numeric vector including the values produced by the function for each sample in the dataset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.