This function will create a Seurat object including single-cell multimodal data based on the paired cells.

CreatePairedObject(
  df.pair,
  obj.coembed = NULL,
  obj.rna = NULL,
  obj.atac = NULL,
  rna.assay = NULL,
  atac.assay = NULL,
  sep = c("-", "-")
)

Arguments

df.pair

A data frame containing the cell pairing results generated by the function PairCells.

sep

Separators to use for strings encoding genomic coordinates. First element is used to separate the chromosome from the coordinates, second element is used to separate the start from end coordinate.

object

Seurat object generated by the function CoembedData

use.assay1

A string indicating the first assay

use.assay2

A string indicating the first assay

Value

A Seurat object

Examples

if (FALSE) {
obj <- CreatePairedObject(
   df.pair = df.pair,
   object = obj.coembed,
   use.assay1 = "RNA",
   use.assay2 = "ATAC",
)
}