knitr::opts_chunk$set(echo = TRUE)
library(knitr) load("parameter.pos") colnames(parameter.pos) <- c("Patameter", "Value", "Meaning") kable(parameter.pos, format = "markdown")
library(knitr) load("parameter.neg") colnames(parameter.neg) <- c("Patameter", "Value", "Meaning") kable(parameter.neg, format = "markdown")
library(knitr) load("pathway.result") # temp.idx <- which(dn.result$q.value < 0.05) # if(length(temp.idx) == 0 & nrow(module.result) > 5){ # temp.idx <- 1:5 # }else{ # temp.idx <- temp.idx # } name <- pathway.result$pathway.name pathway.result$Overlap <- pathway.result$Overlap*100/pathway.result$Pathway.length rownames(pathway.result) <- NULL pathway.result <-pathway.result[,c(1,2,6,7,8,9,11)] colnames(pathway.result) <- c("Pathway name", "Pathway ID", "Pathway size", "Overlap (%)", "P value (adjusted by P value)", "P value (adjusted by overlap)", "Detected metabolite") kable(pathway.result)
library(knitr) load("module.result") # temp.idx <- which(module.result$p.value < 0.05) # if(length(temp.idx) == 0 & nrow(module.result) > 5){ # temp.idx <- 1:5 # }else{ # temp.idx <- temp.idx # } overlap <- as.numeric(module.result$`Detected metabolite number`)*100/as.numeric(module.result$`Module size`) module.result$`Detected metabolite number` <- overlap colnames(module.result)[5] <- "Overlap (%)" kable(module.result[,c(1,2,3,4,5,13)])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.