mean_variance_plot: This function returns 2 plots to assess the mean-variance...

View source: R/mean_variance_plot.R

mean_variance_plotR Documentation

This function returns 2 plots to assess the mean-variance relationship of the count data.

Description

This function returns 2 plots to assess the mean-variance relationship of the count data.

Usage

mean_variance_plot(se_obj, assay, slot)

Arguments

se_obj

Seurat object we want to assess.

assay

assay from where we want to extract the count matrix.

slot

slot from where we want to extract the count matrix.

Value

patchwork object with 2 plots

Examples

## Not run: 
library(Seurat)
library(dplyr)
data("pbmc_small")
mean_variance_plot(se_obj = pbmc_small, assay = "RNA", slot = "counts")

## End(Not run)

Single-Cell-Genomics-Group-CNAG-CRG/SCrafty-package documentation built on Aug. 20, 2022, 9:29 a.m.