visualizations

Functions to plot data from Samples object or DMP/DMR dataframes

Functions

analyze_replicates(samples, sample_id_column)

Analyze the beta values standard deviation of the technical replicates to check for batch effect or quality issues.

betas_2D(samples[, label_column, ...])

Plot samples in 2D space according to their beta distances.

betas_dendrogram(samples[, title, ...])

Plot dendrogram of samples according to their beta values distances.

betas_density(samples[, title, ...])

Plot beta values density for each sample

get_nb_probes_per_chr_and_type(samples)

Count the number of probes covered by the sample-s per chromosome and design type

manhattan_plot_cns(data_to_plot[, ...])

Display a Manhattan plot of the given CNS data, designed to work with the dataframes returned by copy_number_segmentation()

manhattan_plot_dmr(dm, contrast[, ...])

Display a Manhattan plot of the given DMR data, designed to work with the dataframe returned by get_dmrs()

metadata_correlation(input_data[, columns, ...])

Plot the correlation between the metadata columns of the samplesheet.

metadata_pairplot(input_data[, columns, ...])

Build a pair plot from the samples' sample sheet.

pc_association_heatmap(samples[, params, ...])

Heatmap of the p-values for the association of principal components and the parameters in the sample sheet.

pc_correlation_heatmap(samples[, params, ...])

Heatmap of the correlation between principal components and the metadata of the sample sheet.

plot_betas_heatmap(samples[, apply_mask, ...])

Plot a heatmap of the probes with the most variable beta values, showing hierarchical clustering of the probes with dendrograms on the sides.

plot_dmp_heatmap(dm[, contrast, nb_probes, ...])

Plot a heatmap of the probes that are the most differentially methylated, showing hierarchical clustering of the probes with dendrograms on the sides.

plot_methylation_distribution(samples[, ...])

Plot the distribution of hyper/hypo methylated probes in the samples.

plot_nb_probes_and_types_per_chr(sample[, ...])

Plot the number of probes covered by the sample per chromosome and design type

visualize_gene(samples, gene_name[, ...])

Show the beta values of a gene for all probes and samples in its transcription zone.