![JAR search and dependency download from the Maven repository](/logo.png)
R.correlation_plot.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!
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