powered by
Check if meta data columns are present in object and return vector of found columns Return warning messages for meta data columns not found.
Meta_Present( object, meta_col_names, print_msg = TRUE, omit_warn = TRUE, return_none = FALSE )
vector of meta data columns that are present
Seurat or Liger object name.
vector of column names to check.
logical. Whether message should be printed if all features are found. Default is TRUE.
logical. Whether to print message about features that are not found in current object. Default is TRUE.
logical. Whether list of found vs. bad features should still be returned if no meta_col_names are found. Default is FALSE.
meta_col_names
if (FALSE) { meta_variables <- Meta_Present(object = obj_name, meta_col_names = "percent_mito", print_msg = TRUE) }
Run the code above in your browser using DataLab