correlation between two replicates of samples with correlation value.
bw_corr(dat, multiBigwigSummary_output = TRUE, pattern = NULL)
dat | Absolute path of count matrix. The input file can be generated by
deeptools |
---|---|
multiBigwigSummary_output | Logical, whether the input matrix is
|
pattern | A character vector, defining pattern to split the columns in
replicates. |
a multi-sample scatterplot of log2 values with correlation value
if (FALSE) { dat_path <- system.file("extdata//correlation_data/an_histone_spore_count_mat.tab" , package = "FungalSporeAnalysis") dat <- read.delim(dat_path,sep="\t", header = TRUE) gp <- bw_corr(dat, pattern = ".*_spore_(.*)_(.*)") ggsave(gp, filename = "An_spore_histone_bwscatterplot.png", height=5, width=5, device = "png", units = "in") }