plot_target_count: Plot count of miRNA targets

Description Usage Arguments Details Value See Also

View source: R/target_mirna.R

Description

Plot count of miRNA targets.

Usage

1
2
3
4
5
6
7
8
plot_target_count(
  df,
  top = NULL,
  threshold = NULL,
  colour = "steelblue3",
  col.target = Target,
  title = NULL
)

Arguments

df

Data frame with miRNA targets.

top

Numeric. Specifies number of top targets to be plotted.

threshold

Numeric. Specifies how often a target must be in col.target to be plotted.

colour

String. Colour of bar plot.

col.target

Symbol. Column containing miRNA targets.

title

String. Plot title.

Details

Plot count of miRNA targets as a bar plot. How many targets are plotted is determined either by the top or by the threshold argument. If top is given, targets with the highest count are plotted. Ties among targets with the highest count are treated as the same rank, e.g. if PTEN, AKT, and VEGFA all had the highest count, they would all be plotted by specifying top = 1, top = 2, and top = 3. If threshold is given, only targets with a count of at least threshold are plotted. If neither top nor threshold is given, top is automatically set to 5.

Value

Bar plot with target counts.

See Also

count_target(), join_targets()

Other target functions: count_target(), join_mirtarbase(), join_targets(), plot_target_mir_scatter()


JulFriedrich/miRetrieve documentation built on Sept. 20, 2021, 11:37 p.m.