subset_mir_threshold {miRetrieve}R Documentation

Subset data frame for miRNA names exceeding a threshold

Description

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

Usage

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()


[Package miRetrieve version 1.3.4 Index]