record_seurat_samples | R Documentation |
There are some simple summaries which are nice to have on hand regarding the number of RNAs, cells, rProteins, rmito observed. This function collects them and drops them into a dataframe within the slot 'misc' of the SCD. I may also print to screen some pretty skims of the results.
record_seurat_samples(
scd,
type = "num_cells",
pattern = NULL,
column_name = NULL,
column_prefix = NULL,
verbose = FALSE,
group = "Idents",
assay = "RNA"
)
scd |
Single Cell Dataset to query. |
type |
Type of column to add to the metadata df, named for the column in the Cell-annotation table to query. |
pattern |
Pattern used for regex-based queries. |
column_name |
Name for the new column. |
column_prefix |
Prefix added to the new column. |
verbose |
Print the summaries to screen? |
group |
Could up the data by this column. |
assay |
Use this assay. (might be useful if you have antibody data) |
Give back the SCD with some new information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.