ImputeSDA2SerV2: This function to add imputed scores from gene loading

View source: R/SDA_Seurat.R

ImputeSDA2SerV2R Documentation

This function to add imputed scores from gene loading

Description

This function to add imputed scores from gene loading

Usage

ImputeSDA2SerV2(
  SerObj,
  sda_loadings,
  keepComps = NULL,
  sdaObjID = "",
  plot = F,
  doAsinh = T,
  MakeReduc = T,
  assay = "RNA"
)

Arguments

SerObj

A seurat Object, with assay RNA and slot data

sda_loadings

matrix of sda loadings

keepComps

if NULL all else numeric or char vec

sdaObjID

id name to apped to comp names

plot

to plot or not

assay

Default "RNA" can be "SCT", etc

Value

seurat obj with new SDA score comps in metadata


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.