![JAR search and dependency download from the Maven repository](/logo.png)
R.heatmap_correlation.R Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of analytica-lib Show documentation
Show all versions of analytica-lib Show documentation
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