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

R.heatmap_pheatmap.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_pheatmap <- function(file_in, clusters_number) {
    data_in <- read.delim(file_in, header = T, sep = ",")
    data <- select(data_in, -matches("Groups"))
    
    rownames(data) <- data_in$Groups
    # center and scale the data to help heatmap-ing:
    x <- scale(data) # scale and center columns
    x <- t(scale(t(x))) # scale and center rows
    
    heatmap(x)
}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy