getOverlapMatrix: Calculate Overlap Score matrix for ATAC and RNA jointly...

View source: R/integrateATACWithRNA.R

getOverlapMatrixR Documentation

Calculate Overlap Score matrix for ATAC and RNA jointly embedding metaTable

Description

Based on the co-embeding clustering result, we summation the minmum scores of the percentages of cells on either ATAC or RNA group in each cluster.

Usage

getOverlapMatrix(
  meta,
  ident = "coembed.idents",
  atacCol = "MajorType",
  rnaCol = "ClusterName"
)

Arguments

meta

data.frame, three columns as ident, atacCluster, rnaCluster defined as in the following parameters

ident

characters, name of column ident, i.e. the cluster Ids for the co-embedded seurat, "coembed.idents" as default.

atacCol

characters, name of column atac, "MajorType"as default

rnaCol

characters, name of column rna, "ClusterName" as default

Value

data.frame of numeric, atac by rna


beyondpie/pureRUtils documentation built on Jan. 10, 2023, 3:22 a.m.