Read the spatial transcriptomics data measured on 10X Visium platform as a Seurat object, where the spatial coordinates are saved in the metadata, named "row" and "col".

read10XVisium(dirname)

Arguments

dirname

A string, the dictory of Visium datasets

Details

Nothing

Value

return a Seurat object.

References

None

Author

Wei Liu

Note

nothing

See also

None

Examples

if (FALSE) {
  ## set your file directory, then read it.
  data_name <- "D/HCC"
  HCC1 <- read10XVisium(data_name)
  }