get_distinct_mir_df {miRetrieve} | R Documentation |
Identify top miRNA names distinct for one topic compared to another topic
Description
Identify top miRNA names distinct for one topic compared to another topic in a data frame.
Usage
get_distinct_mir_df(
df,
distinct,
top = 5,
topic = NULL,
col.topic = Topic,
col.mir = miRNA,
col.pmid = PMID
)
Arguments
df |
Data frame containing at least two topics and miRNA names. |
distinct |
String. Name of topic top distinct miRNAs shall be identified
for. |
top |
Integer. Number of top miRNA names to extract for both topics. |
topic |
String. Vector of strings containing topic names to compare
miRNA names for. If |
col.topic |
Symbol. Column containing topic names. |
col.mir |
Symbol. Column containing miRNA names. |
col.pmid |
Symbol. Column containing PubMed-IDs. |
Details
Get top distinct miRNA names of one topic compared to another topic in a
data frame.
get_distinct_mir_df()
compares the top miRNA names of two topics and
returns the miRNA names that are exclusive for distinct
.
Value
Character vector containing miRNA names distinct for distinct
compared to the second topic provided in topic
.
See Also
Other get functions:
get_distinct_mir_vec()
,
get_mir()
,
get_pmid()
,
get_shared_mir_df()
,
get_shared_mir_vec()
,
get_snp()