This function instantiates a mappingClass S4 class object.

mappingClass(annotations, detailed_results)

Arguments

annotations

A reference taxonomy anndata object.

detailed_results

a method-specific set of additional mapping output

Value

Instance of mappingClass S4 class.

Examples

resultAnno <- mappingClass(
  annotations = data.frame(
    map.Corr = c("Exc", "Inh", "Inh"),
    score.Corr = c(0.9, 0.9, 0.9)
  ),
  detailed_results = list(
    corr = NA,
    tree = membership, ## For patchseq directory
    seurat = NA
  )
)
#> Error in initialize(value, ...): object 'membership' not found