subset_mir: Subset data frame for specific miRNA names

Description Usage Arguments Details Value See Also

View source: R/subset_mir.R

Description

Subset data frame for specific miRNA names only.

Usage

1
subset_mir(df, mir.retain, col.mir = miRNA)

Arguments

df

Data frame containing a miRNA names.

mir.retain

Character vector. Vector specifying which miRNA names to keep. miRNA names in mir.retain must match miRNA names in col.mir in df.

col.mir

Symbol. Column containing miRNA names.

Details

Subset data frame for specific miRNA names only.

Value

Data frame containing only specified miRNA names. If no miRNA name in mir.retain matches a miRNA name in col.mir, subset_mir() stops with a warning saying "No miRNA name in 'mir.retain' matches a miRNA name in 'col.mir'. Could not filter for miRNA name.".

See Also

get_mir(), subset_mir_threshold()

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


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