resolutionCalc: Resolution calculation

View source: R/resolution.R

resolutionCalcR Documentation

Resolution calculation

Description

Automatic calculation of optimal raster resolution for the sample.

Usage

resolutionCalc(sampleInfo)

Arguments

sampleInfo

A data.frame contains the pixel information and cluster labels for each barcode of a human breast cancer sample. The index contains barcodes, and at least three other columns that have these information are required and the column names should be the same as following: "imagerow": The row pixel coordinate of the center of the spot "imagecol": The column pixel coordinate of the center of the spot "Cluster": The label that corresponding to this barcode

Value

A list that contains length and height of resolution.

Examples

fpath <- system.file("extdata", "dataframe.rda", package="stJoincount")
load(fpath)
resolutionList <- resolutionCalc(humanBC)

Nina-Song/stJoincount documentation built on Oct. 23, 2022, 4:55 p.m.