get_sample_corr_distrib {proBatch} | R Documentation |
Calculates correlation distribution for all pairs of the replicated samples
get_sample_corr_distrib(cor_proteome, sample_annotation, sample_id_col = "FullRunName", biospecimen_id_col = "EarTag", batch_col = "batch")
cor_proteome |
sample correlation matrix (square) |
sample_annotation |
data matrix with:
|
sample_id_col |
name of the column in sample_annotation file, where the filenames (colnames of the data matrix are found) |
biospecimen_id_col |
column in |
batch_col |
column in |
dataframe with the following columns, that
are suggested to use for plotting in
plot_sample_corr_distribution
as plot_param
:
replicate
batch_the_same
batch_replicate
batches
other columns are:
sample_id_1
& sample_id_2
, both
generated from sample_id_col
variable
correlation
- correlation of two corresponding samples
batch_1
& batch_2
or analogous,
created the same as sample_id_1