Skip to content

The first argument can be a multiOmicDataset object (moo) or a data.frame containing counts. For a moo, choose which counts slot to use with count_type & (optionally) sub_count_type.

Usage

plot_read_depth(moo_counts, ...)

Arguments

moo_counts

counts dataframe or multiOmicDataSet containing count_type & sub_count_type in the counts slot

...

arguments forwarded to method

Value

ggplot barplot

Methods

link to docsclass
plot_read_depth_moomultiOmicDataSet
plot_read_depth_datdata.frame

Examples

# multiOmicDataSet
moo <- multiOmicDataSet(
  sample_metadata = nidap_sample_metadata,
  anno_dat = data.frame(),
  counts_lst = list(
    "raw" = nidap_raw_counts,
    "clean" = nidap_clean_raw_counts
  )
)

plot_read_depth(moo, count_type = "clean")


# dataframe
plot_read_depth(nidap_clean_raw_counts)