simNewLocs: Fit the marginal distributions for single gene

View source: R/simSRTLocs.R

simNewLocsR Documentation

Fit the marginal distributions for single gene

Description

Fit the marginal distributions for single gene

Usage

simNewLocs(newN, lay_out = c("grid", "random"), preLoc)

Arguments

newN

A integer specifying the number of spatial locations in the synthetic data

lay_out

A character string specifying arrangement of new generated spatial locations. Default is "grid"

preLoc

A data frame of shape n by 3 that x, y coodinates and domain label

Value

Returns a n by 2 dataframe with newly generated spatial locations


SRTsim documentation built on Jan. 13, 2023, 5:12 p.m.