mergeDataset: Merges an external index into the existing object

mergeDatasetR Documentation

Merges an external index into the existing object

Description

This function is useful to merge SCFind indices. After this operation object that was merged can be discarded.

Usage

## S3 method for class 'dataset.from.object'
merge(object, new.object)

## S4 method for signature 'SCFind,SCFind'
mergeDataset(object, new.object)

Arguments

object

the root scfind object

new.object

external scfind object to be merged

Details

The only semantic limitation for merging two databases is to have different dataset names in the two different indices. If that is not case user may run into problems masking datasets from the different datasets while there is a possibility of having different cell types under the same name. This will most likely cause undefined behavior during queries.

Value

the new extended object


hemberg-lab/scfind documentation built on March 27, 2022, 8:56 p.m.