projectionDriveR: projectionDriveR

View source: R/projectionDriveRfun.R

projectionDriveRR Documentation

projectionDriveR

Description

Calculate weighted expression difference between two groups (group1 - group2)

Usage

projectionDriveR(
  cellgroup1,
  cellgroup2,
  loadings,
  pattern_name,
  loadingsNames = NULL,
  pvalue = 1e-05,
  display = TRUE,
  normalize_pattern = TRUE,
  mode = "CI"
)

Arguments

cellgroup1

gene x cell count matrix for cell group 1

cellgroup2

gene x cell count matrix for cell group 2

loadings

A matrix of continuous values defining the features

pattern_name

column of loadings for which drivers will be calculated

loadingsNames

a vector with names of loading rows defaults to rownames

pvalue

confidence level. Default 1e-5

display

boolean. Whether or not to display confidence intervals

normalize_pattern

Boolean. Whether or not to normalize pattern weights

mode

statistical approach, confidence intervals or pvalues. default CI

Value

A list with unweighted/weighted mean differences and differential genes that meet the provided signficance threshold.


genesofeve/projectR documentation built on Nov. 16, 2024, 8:20 p.m.