simNewLocs {SRTsim} | R 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
[Package SRTsim version 0.99.6 Index]