compare_mir_count_unique {miRetrieve}R Documentation

Compare top count of unique miRNA names per topic

Description

Compare top count of unique miRNA names per topic

Usage

compare_mir_count_unique(
  df,
  top = 5,
  topic = NULL,
  normalize = TRUE,
  colour = "steelblue3",
  col.topic = Topic,
  col.mir = miRNA,
  col.pmid = PMID,
  title = NULL
)

Arguments

df

Data frame containing miRNA names, topics, and PubMed-IDs.

top

Integer. Specifies number of top unique miRNAs to plot.

topic

Character vector. Optional. Vector specifying which topics to compare. If topic = NULL, all topics in df are used.

normalize

Boolean. If normalize = TRUE, proportion of abstracts mentioning a miRNA name compared to all abstracts of a topic are used. If normalize = FALSE, the absolute number of abstracts mentioning a miRNA name is used.

colour

String. Colour of bar plot.

col.topic

Symbol. Column containing topics.

col.mir

Symbol. Column containing miRNA names.

col.pmid

Symbol. Column containing PubMed-IDs.

title

String. Plot title.

Details

Compare top count of unique miRNA names per topic by plotting the the miRNA count of unique miRNAs per topic. Per topic, the unique miRNAs are identified and their count is plotted. The miRNA count can either be normalized, thus taking the proportion of abstracts mentioning a miRNA name compared to all abstracts in a topic, or not normalized, thus taking the absolute number of abstracts mentioning a miRNA in a topic.

Value

Bar plot comparing frequency of unique miRNA count per topic.

See Also

compare_mir_count(), compare_mir_count_log2()

Other compare functions: compare_mir_count_log2(), compare_mir_count(), compare_mir_terms_log2(), compare_mir_terms_scatter(), compare_mir_terms_unique(), compare_mir_terms()


[Package miRetrieve version 1.3.4 Index]