Description Usage Arguments Details Value See Also
View source: R/df_operations_combine_addtopic_subsetmir.R
Subset data frame for a term in a specified column.
1 |
df |
Data frame to subset. |
col.filter |
String. Name of column to filter. |
filter_for |
String. Term to filter for. |
Subset data frame for a term in a specified column.
subset_df()
filters a data frame for a certain term in a specified column. All
rows containing the term in the specified column are kept, while the other
rows are silently dropped.
Here, col.filter
is a string rather than
a symbol to facilitate filtering in columns that carry special characters
such as '-' in their name.
Data frame, subset for rows where filter_for
was
present in col.filter
.
indicate_term()
, indicate_mir()
, extract_snp()
Other subset functions:
subset_mir_threshold()
,
subset_mir()
,
subset_research()
,
subset_review()
,
subset_snp()
,
subset_year()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.