sptBClstRds: Visualize Somatic Alterations of fresh frozen Spatial...

View source: R/pointmut.R

sptBClstRdsR Documentation

Visualize Somatic Alterations of fresh frozen Spatial Transcriptomics Data

Description

Visualize Somatic Alterations of fresh frozen Spatial Transcriptomics Data

Usage

sptBClstRds(files, data1, data2, path)

Arguments

files

a vector of spotIndex file, each barcode one txt file

data1

filtered_feature_bc.csv generated by spaceranger

data2

Graph-Based csv file exported from 10X Loupe Browser when open Loupe.Loupe

path

Path to the tissue_positions_list.csv under spatial/ folder

Value

A list of two data frame

Examples

## Not run: 
files <- list.files(path = system.file("extdata/spotIndex",package = "spamut"),
    pattern = ".txt", full.names = TRUE, recursive = FALSE)
data1 <- read.csv(system.file("extdata/","filtered_feature_bc.csv",
    package = "spamut"), header = TRUE)
data2 <- read.csv(system.file("extdata/","Graph-Based.csv", package = "spamut"), header = TRUE)
path <- system.file("extdata/","tissue_positions_list.csv", package = "spamut"
df <- sptBClstRds(files=files,data1=data1, data2=data2, path=path)

## End(Not run)

limin321/spamut documentation built on May 13, 2022, 12:50 a.m.