plot_target_count {miRetrieve} | R Documentation |
Plot count of miRNA targets
Description
Plot count of miRNA targets.
Usage
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 |
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()