Skip to contents

This function removes layers from a Seurat object's RNA assay based on a specified regular expression pattern. It is supposed to make something similar than the no longer working DietSeurat function, by removing no longer needed layers from th object.

Usage

DO.DietSeurat(Seu_object, pattern = "^scale\\.data\\.")

Arguments

Seu_object

Seurat object.

pattern

regular expression pattern to match layer names. Default "^scale\.data\."

Value

Seurat object with specified layers removed.

Author

Mariano Ruz Jurado

Examples

if (FALSE) { # \dontrun{


DO.Subset(
  Seu_object = Seurat,
  ident="condition",
  ident_name="CTRL"
)

DO.Subset(
  Seu_object = Seurat,
  ident="nFeature_RNA",
  ident_thresh=c(">5", "<200")
)
} # }