All Downloads are FREE. Search and download functionalities are using the official Maven repository.

R.correlation_plot.R Maven / Gradle / Ivy

Go to download

Library allowing generation of plots and data from proteomics and metabolomics mass spectrometry data through the use of R and java methods.

The newest version!
correlation_plot <- function(file_in) {
    data_in <- read.delim(file_in, header = T, sep = ",")
    data <- select(data_in, -matches("Groups"))
    
    rownames(data) <- data_in$Groups
    corr_mat <- cor(data, method = "pearson", use = "complete.obs")

    corrplot(corr_mat, type = "upper", order = "hclust", method = "ellipse", lwd = 0.1, col = rainbow(200), bg = "white",
             tl.col = "black", tl.cex = 0.5, outline = F, cl.lim = c(0, 1), cl.cex = 0.8)
}

name_from_header <- function(header) {
    split1 <- strsplit(header, "&")[[1]]
    for

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy