Plot count of most frequently mentioned miRNA names in a data frame.

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.

Value

Bar plot with the most frequently mentioned miRNAs names in df.

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.

See also