load_stellarscope_report: Load count matrix from Stellarscope output files

View source: R/load_stellarscope_report.R

load_stellarscope_reportR Documentation

Load count matrix from Stellarscope output files

Description

Load count matrix from Stellarscope output files

Usage

load_stellarscope_report(
  stellarscope_dir,
  exp_tag = "stellarscope",
  count_filename = "*TE_counts.mtx",
  feature_filename = "*features.tsv",
  barcode_filename = "*barcodes.tsv"
)

Arguments

stellarscope_dir

Stellarscope output directory.

exp_tag

Experiment tag used in stellarscope run. Default is "stellarscope".

count_filename

File name pattern for count matrix (MTX format). May contain wildcards. Default is '*TE_counts.mtx'.

feature_filename

File name pattern for feature list (tab-separated, features in first column). May contain wildcards. Default is '*features.tsv'.

barcode_filename

File name pattern for barcode list (tab-separated, barcodes in first column). May contain wildcards. Default is '*barcodes.tsv'.

Value

A sparse matrix of of class "dgTMatrix" with features as rows and cells as columns.


nixonlab/scopetools documentation built on Sept. 30, 2022, 11:15 a.m.