ImputeSDA2SerV3: This function to add imputed scores from gene loading, V3 is...

View source: R/SDA_Seurat.R

ImputeSDA2SerV3R Documentation

This function to add imputed scores from gene loading, V3 is one component at a time selecting topN genes

Description

This function to add imputed scores from gene loading, V3 is one component at a time selecting topN genes

Usage

ImputeSDA2SerV3(
  SerObj,
  sda_loadings,
  keepComps = NULL,
  sdaObjID = "",
  plot = F,
  doAsinh = T,
  TopNpos = 20,
  TopNneg = 20,
  MetaExtraName = ""
)

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

Value

seurat obj with new SDA score comps in metadata


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