addModuleScore: Add Module Scores to an ArchRProject

View source: R/ModuleScore.R

addModuleScoreR Documentation

Add Module Scores to an ArchRProject

Description

This function computes imputations weights that describe each cell as a linear combination of many cells based on a MAGIC diffusion matrix.

Usage

addModuleScore(
  ArchRProj = NULL,
  useMatrix = NULL,
  name = "Module",
  features = NULL,
  nBin = 25,
  nBgd = 100,
  seed = 1,
  threads = getArchRThreads(),
  logFile = createLogFile("addModuleScore")
)

Arguments

ArchRProj

An ArchRProject object.

seed

A number to be used as the seed for random number generation. It is recommended to keep track of the seed used so that you can reproduce results downstream.

threads

The number of threads to be used for parallel computing.

logFile

The path to a file to be used for logging ArchR output.

Details

RRR


haibol2016/ArchR_debug documentation built on June 15, 2022, 5:42 p.m.