count_mir_threshold: Count occurrence of miRNA names above threshold

Description Usage Arguments Details Value See Also

View source: R/count_mir_threshold.R

Description

Count occurrence of miRNA names above a threshold.

Usage

1
count_mir_threshold(df, threshold = 1, col.mir = miRNA, col.pmid = PMID)

Arguments

df

Data frame containing miRNA names and PubMed-IDs.

threshold

Integer or float. If threshold >= 1, counts number of miRNA names in at least threshold abstracts. If threshold is between 0 and 1, counts number of miRNA names mentioned in at least threshold abstracts of all abstracts in df.

col.mir

Symbol. Column containing miRNA names.

col.pmid

Symbol. Column containing PubMed-IDs.

Details

Count occurrence of miRNA names above a threshold. This threshold can either be an absolute value, e.g. 3, or a float between 0 and 1, e.g. 0.2. If threshold is an absolute value, number of distinct miRNA names mentioned in at least threshold abstracts is returned. If threshold is a float between 0 and 1, number of distinct miRNA names mentioned in at least threshold abstracts of all abstracts in df is returned.

Value

Integer with the number of distinct miRNA names in df.

See Also

plot_mir_count_threshold(), count_mir(), plot_mir_count()

Other count functions: count_mir(), count_snp(), plot_mir_count_threshold(), plot_mir_count()


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