plot_biotypes: Plot reads assigned to biotypes

View source: R/plot_biotypes.R

plot_biotypesR Documentation

Plot reads assigned to biotypes

Description

Plot reads assigned to biotypes

Usage

plot_biotypes(
  x,
  n = 12,
  group = FALSE,
  stack = "percent",
  sort = TRUE,
  barwidth = NULL,
  ...
)

Arguments

x

count matrix from featureCounts with '-g gene_biotype'

n

number of top features to plot, default 12

group

plot all features in 12 groups, default FALSE

stack

plot percent or total reads (percent or normal)

sort

sort by total genes assigned to biotype

barwidth

bar width, default null

...

additional options passed to hc_size

Value

A highchart

Author(s)

Chris Stubben

Examples

## Not run: 
 x <- read_tsv("biotypes.txt")
 plot_biotypes(x)

## End(Not run)

HuntsmanCancerInstitute/hciR documentation built on Dec. 10, 2024, 12:22 p.m.