plot_mir_count: Plot count of most frequently mentioned miRNA names

Description Usage Arguments Details Value See Also

View source: R/count_mir_single_topic.R

Description

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

Usage

1
2
3
4
5
6
7
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()


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