Correlation based hirachical clustering of samples
A correlation heatmap is created that uses hirachical clustering to determine sample similarity.
qc_sample_correlation( data, sample, grouping, intensity_log2, condition, digestion = NULL, run_order = NULL, method = "spearman", interactive = FALSE )
data |
a dataframe contains at least the input variables. |
sample |
the name of the column containing the sample names. |
grouping |
the name of the column containing precursor or peptide identifiers. |
intensity_log2 |
the name of the column containing log2 intensity values. |
condition |
the name of the column containing the conditions. |
digestion |
optional, the name of the column containing information about the digestion method used. Eg. "LiP" or "tryptic control". |
run_order |
optional, the name of the column containing the order in which samples were measured. Useful to investigate batch effects due to run order. |
method |
the method to be used for correlation. |
interactive |
logical, default is |
A correlation heatmap that compares each sample. The dendrogram is sorted by optimal leaf ordering.
## Not run: qc_sample_correlation( data, sample = r_file_name, grouping = eg_precursor_id, intensity_log2 = intensity_log2, condition = r_condition ) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.