plot_mir_count {miRetrieve} | R Documentation |
Plot count of most frequently mentioned miRNA names
Description
Plot count of most frequently mentioned miRNA names in a data frame.
Usage
plot_mir_count(
df,
top = 10,
colour = "steelblue3",
col.mir = miRNA,
title = NULL
)
Arguments
df |
Data frame containing miRNA names. |
top |
Integer. Specifies number of most frequent miRNA names to plot. |
colour |
String. Colour of bar plot. |
col.mir |
Symbol. Column containing miRNA names. |
title |
String. Plot title. |
Details
Plot count of most frequently mentioned miRNA names in a data frame. How many
most frequently mentioned miRNAs are plotted is determined via the top
argument. Ties among the most frequently mentioned miRNAs are treated as
the same rank, e.g. if miR-126, miR-34, and miR-29 were all mentioned
the most often, they would all be plotted by specifying top = 1
, top = 2
,
or top = 3
.
Value
Bar plot with the most frequently mentioned miRNAs names in df
.
See Also
count_mir()
, count_mir_threshold()
, plot_mir_count_threshold()
Other count functions:
count_mir_threshold()
,
count_mir()
,
count_snp()
,
plot_mir_count_threshold()