get_distinct_mir_df: Identify top miRNA names distinct for one topic compared to...

Description Usage Arguments Details Value See Also

View source: R/distinct_shared_mir.R

Description

Identify top miRNA names distinct for one topic compared to another topic in a data frame.

Usage

1
2
3
4
5
6
7
8
9
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. distinct must be contained in the topic names provided in topic.

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 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()


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