skim_seurat_metadata: Use skimr to make pretty summaries of cell-data.

View source: R/singlecell.R

skim_seurat_metadataR Documentation

Use skimr to make pretty summaries of cell-data.

Description

I think I want to expand this to handle RNA summaries as well.

Usage

skim_seurat_metadata(
  sample_meta,
  obj_meta,
  meta_query = "nCount_RNA",
  group_column = NULL,
  summary_query = "numeric.mean",
  column_name = NULL,
  column_prefix = NULL,
  verbose = TRUE
)

Arguments

sample_meta

df of the known samples by name.

obj_meta

The 'meta.data' slot of a SCD

meta_query

Column to query.

group_column

Column used to group the cells.

summary_query

Which of the various data produced by skimr should be extracted?

column_name

Add the new column with this name.

column_prefix

And this prefix.

verbose

Print the pretty skimr table?

Value

df with some new meta(meta?)data.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.