AddDist-redeemR-method: AddDist This add Jaccard, Dice, Jaccard3W distance and stored...

AddDist,redeemR-methodR Documentation

AddDist This add Jaccard, Dice, Jaccard3W distance and stored in DistObjects

Description

AddDist This add Jaccard, Dice, Jaccard3W distance and stored in DistObjects

Usage

## S4 method for signature 'redeemR'
AddDist(
  object,
  jaccard = T,
  dice = T,
  jaccard3w = T,
  w_jaccard = T,
  w_cosine = T,
  weightDF = NULL,
  NN = 1,
  LSIdist = T,
  dim = 2:50
)

Arguments

object

redeemR class

jaccard

default=T

dice

default=T

jaccard3w

default=T

w_jaccard

default=T

w_cosine

default=T

NN

To replace NA, which means a variant shown in the object is not shown in the weight vector, with a number, default is 1 for jaccard system.

LSIdist

default=T

dim

the dimensions to use to calculate LSI distance default is 2:50

weight

A two column dataframe, "Variant"(The variant name should match cell-variant matrix column, e.g, Variants310TC), "weight" (numeric)

Value

redeemR class


chenweng1991/scMitoTracing documentation built on July 2, 2024, 8:41 p.m.