compare_mir_count: Compare count of miRNA names between different topics

Description Usage Arguments Details Value See Also

View source: R/compare_mir_count.R

Description

Compare count of miRNA names between different topics.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
compare_mir_count(
  df,
  mir,
  topic = NULL,
  normalize = TRUE,
  col.topic = Topic,
  col.mir = miRNA,
  col.pmid = PMID,
  title = NULL
)

Arguments

df

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

mir

Character vector. Vector specifying which miRNA names to compare.

topic

Character vector. Optional. Vector specifying which topics to compare.

normalize

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

col.topic

Symbol. Column containing topic names.

col.mir

Symbol. Column containing miRNA names.

col.pmid

Symbol. Column containing PubMed-IDs.

title

String. Plot title.

Details

Compare count of miRNA names between different topics by plotting the number of abstracts mentioning the miRNA in a topic. This count can either be normalized, thus plotting the proportion of abstracts mentioning a miRNA name compared to all abstracts of a topic, or it can be not normalized, thus plotting the absolute number of abstracts mentioning a miRNA per topic.

Value

Bar plot comparing the count of miRNA names between different topics.

See Also

compare_mir_count_log2(), compare_mir_count_unique()

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


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