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,
seurat_object = deprecated(),
meta_col_names,
print_msg = TRUE,
omit_warn = TRUE,
return_none = FALSE
)
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.
vector of meta data columns that are present
if (FALSE) {
meta_variables <- Meta_Present(object = obj_name, meta_col_names = "percent_mito", print_msg = TRUE)
}