subset_mir_threshold: Subset data frame for miRNA names exceeding a threshold

Description Usage Arguments Details Value See Also

View source: R/subset_mir.R

Description

Subset data frame for miRNA names whose frequency exceeds a threshold.

Usage

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

Arguments

df

Data frame containing miRNA names and a PubMed-IDs.

threshold

Integer or float. If threshold >= 1, retains miRNA names in at least threshold abstracts. If threshold is between 0 and 1, retains 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

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.

Value

Data frame, subset for miRNA names whose frequency exceeds a threshold.

See Also

get_mir(), subset_mir()

Other subset functions: subset_df(), subset_mir(), subset_research(), subset_review(), subset_snp(), subset_year()


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