subset_mir_threshold.Rd
Subset data frame for miRNA names whose frequency exceeds a threshold.
subset_mir_threshold(df, threshold = 1, col.mir = miRNA, col.pmid = PMID)
df | Data frame containing miRNA names and a PubMed-IDs. |
---|---|
threshold | Integer or float. If |
col.mir | Symbol. Column containing miRNA names. |
col.pmid | Symbol. Column containing PubMed-IDs. |
Data frame, subset for miRNA names whose frequency exceeds a threshold.
Subset data frame for miRNA names whose frequency exceeds 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, subset_mir_threshold()
retains
miRNA names mentioned in at least threshold
abstracts.
If threshold
is a float between 0 and 1, subset_mir_threshold()
retains
miRNA names mentioned in at least threshold
abstracts
of all abstracts in df
.
Other subset functions:
subset_df()
,
subset_mir()
,
subset_research()
,
subset_review()
,
subset_snp()
,
subset_year()