Skip to contents

This function takes a matrix or array of imputation results and plots the distribution of intensities. It is recommended to log-transform the data before using this function.

Usage

rna.plot_imputation(
  assay,
  ...,
  colData,
  plot = TRUE,
  basesize = 12,
  export = TRUE
)

Arguments

assay

A matrix or array of imputation results. If working with a DESeqDataSet or SummarizedExperiment object, the array can be retrieved via SummarizedExperiment::assay(object).

...

Additional matrices or arrays. Can be input as named argument, for example: "matrix2" = log(matrix2)

colData

A data frame of sample metadata. If working with a DESeqDataSet or SummarizedExperiment object, the metadata can be retrieved via SummarizedExperiment::colData(object).

plot

A logical indicating whether to plot the results.

basesize

Base font size for plotting.

export

A logical indicating whether to export the plot as PDF and PNG file into the /Plots folder.

Value

(Invisibly) A ggplot object.