count_mir_threshold.RdCount occurrence of miRNA names above a threshold.
count_mir_threshold(df, threshold = 1, col.mir = miRNA, col.pmid = PMID)
| 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. |
Integer with the number of distinct miRNA names in df.
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.
plot_mir_count_threshold(), count_mir(), plot_mir_count()
Other count functions:
count_mir(),
count_snp(),
plot_mir_count_threshold(),
plot_mir_count()