Skip to content

problem with Visium HD spatial transcripts data #37

@cmubioinformatics

Description

@cmubioinformatics

# Create grouped features grouped_features <- list( "B_cell_markers" = c("MS4A1", "CD79A"), "T_cell_markers" = c("CD3D", "CD8A", "IL7R"), "Myeloid_markers" = c("CD14", "FCGR3A", "S100A8") )

DotPlot2(stRNA, features = grouped_features)

`Error in match.arg(arg = value, choices = Assays(object = object)): 'arg' should be “Spatial”
Traceback:

  1. feature_percent(seu, tp, group.by = calc_group.by)
  2. DefaultAssay<-(*tmp*, value = DefaultAssay)
  3. DefaultAssay<-.Seurat(*tmp*, value = DefaultAssay)
  4. match.arg(arg = value, choices = Assays(object = object))
  5. stop(sprintf(ngettext(length(chs <- unique(choices[nzchar(choices)])),
    . "'arg' should be %s", "'arg' should be one of %s"), paste(dQuote(chs),
    . collapse = ", ")), domain = NA)
  6. .handleSimpleError(function (cnd)
    . {
    . watcher$capture_plot_and_output()
    . cnd <- sanitize_call(cnd)
    . watcher$push(cnd)
    . switch(on_error, continue = invokeRestart("eval_continue"),
    . stop = invokeRestart("eval_stop"), error = NULL)
    . }, "'arg' should be “Spatial”", base::quote(match.arg(arg = value,
    . choices = Assays(object = object))))`

could you tell me how to solve this problem? thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions