getLoadings: Get loadings by different methods

View source: R/coda.R

getLoadingsR Documentation

Get loadings by different methods

Description

Get loadings by different methods

Usage

getLoadings(
  cnts,
  groups,
  method = c("lda", "svm", "cda", "cda.std"),
  ref.cell.type = NULL
)

Arguments

cnts

Counts of cell typer in samples. Rows - samples, columns - cell types

groups

Vector with boolean values. TRUE - sample in the case group, FALSE - sample in the control group

method

Method to get loadings

ref.cell.type

Reference cell type

Value

Updated data frame with Z scores


kharchenkolab/cacoa documentation built on Nov. 8, 2024, 6:06 a.m.