mCut | R Documentation |
provide cutoff threshold and gene expression values for specific gene
mCut(gene, mat, os, cut = "median")
gene |
the gene we want to use to classify samples based on expression |
mat |
expression values (FPKM) tibble with samples as columns and symbol column containing gene names |
os |
tibble with samples, overall survival (OS) values, and Vital.Status values |
cut |
method to use to separate into high and low groups, can be either median (defualt) or cutP |
the cutoff threshold and expression values (log2(FPKM+1)) as a list
data = abs(data.frame(data = matrix(rnorm(100),ncol=10))) expr = dplyr::tibble(symbol = paste0(rep("gene",10),1:10), data) colnames(expr) = c("symbol", letters[1:10]) os = dplyr::tibble(sample = letters[1:10], OS = 10:19, Vital.Status = c(rep("Alive",8),rep("Dead",2))) mCut("gene1", mat = expr, os = os, cut = "cutP")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.