get_shared_mir_df: Get top miRNA names in common between two topics of a data...

Description Usage Arguments Details Value See Also

View source: R/distinct_shared_mir.R

Description

Get top miRNA names in common between two topics of a data frame.

Usage

1
2
3
4
5
6
7
8
get_shared_mir_df(
  df,
  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.

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 topic = NULL, topic defaults to all topic names contained in col.topic in df. topic must only contain two topic names.

col.topic

Symbol. Column containing topic names.

col.mir

Symbol. Column containing miRNA names.

col.pmid

Symbol. Column containing PubMed-IDs.

Details

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.

Value

Character vector containing miRNA names in common between two topics.

See Also

Other get functions: get_distinct_mir_df(), get_distinct_mir_vec(), get_mir(), get_pmid(), get_shared_mir_vec(), get_snp()


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