compare_mir_count {miRetrieve} | R Documentation |
Compare count of miRNA names between different topics
Description
Compare count of miRNA names between different topics.
Usage
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 |
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()