Get top miRNA names in common between two topics of a data frame.
get_shared_mir_df(
df,
top = 5,
topic = NULL,
col.topic = Topic,
col.mir = miRNA,
col.pmid = PMID
)
Data frame containing at least two topics and miRNA names.
Integer. Number of top miRNA names to extract for both topics.
String. Vector of strings containing topic names to compare
miRNA names for. If topic = NULL
, topic
defaults to all topic names contained
in col.topic
in df
. topic
must only contain two topic names.
Symbol. Column containing topic names.
Symbol. Column containing miRNA names.
Symbol. Column containing PubMed-IDs.
Character vector containing miRNA names in common between two topics.
Get top miRNA names in common between two topics of a data frame.
get_shared_mir_df()
compares the top miRNA names of two topics
in a data frame and returns the miRNA names in common.
Other get functions:
get_distinct_mir_df()
,
get_distinct_mir_vec()
,
get_mir()
,
get_pmid()
,
get_shared_mir_vec()
,
get_snp()