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

R.heatmap_correlation.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!
heatmap_correlation <- 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")

    heatmap(corr_mat, symm = T, cexRow = 0.7, cexCol = 0.7, verbose = T)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy