extract_row_col_vars_visiumHD: Extract Row and Column Variables for VisiumHD Barcodes

View source: R/e.R

extract_row_col_vars_visiumHDR Documentation

Extract Row and Column Variables for VisiumHD Barcodes

Description

This function extracts row and column information from VisiumHD barcodes in a provided dataframe.

Usage

extract_row_col_vars_visiumHD(
  coords_df,
  name_bcs = "barcodes",
  name_row = "row",
  name_col = "col"
)

Arguments

coords_df

A dataframe containing VisiumHD barcodes.

name_bcs

The column name where the barcodes are stored (default is "barcodes").

name_row

The name to assign to the row variable (default is "row").

name_col

The name to assign to the column variable (default is "col").

Value

A dataframe with added row and column information.


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.