scraps_to_seurat: Add scraps output to existing seurat object as new assay

View source: R/scraps_to_seurat.R

scraps_to_seuratR Documentation

Add scraps output to existing seurat object as new assay

Description

Add scraps output to existing seurat object as new assay

Usage

scraps_to_seurat(
  file,
  object,
  assay_name = "Asite",
  n_min = 5,
  alt_only = TRUE,
  types = "3'UTR",
  pf = NULL
)

Arguments

file

scraps output table containing

object

seurat object

n_min

minimum number of observations for a site to be kept

alt_only

if TRUE, only keep genes with alternative polyA sites

types

filter to only these types of PA sites, set to NULL to use all

pf

data.frame with SAF first column and position factor by gene, calculated by parse_saf_pf

Value

Seurat object with inserted assay


rnabioco/scrapR documentation built on Aug. 14, 2022, 9:38 a.m.