count_mir_threshold {miRetrieve} | R Documentation |
Count occurrence of miRNA names above threshold
Description
Count occurrence of miRNA names above a threshold.
Usage
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 |
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()