CreatePairedObject.Rd
This function will create a Seurat object including single-cell multimodal data based on the paired cells.
CreatePairedObject(
df.pair,
object,
use.assay1 = NULL,
use.assay2 = NULL,
sep = c("-", "-")
)
A data frame containing the cell pairing results
generated by the function PairCells
.
Seurat object generated by the function CoembedData
A string indicating the first assay
A string indicating the first assay
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.
A Seurat object
if (FALSE) {
obj <- CreatePairedObject(
df.pair = df.pair,
object = obj.coembed,
use.assay1 = "RNA",
use.assay2 = "ATAC",
)
}