RSA3DLognormFromData: RSA3DLognormFromData

Description Usage Arguments Details Value

Description

Creates a RSA simulation with log-normal feret diameters

Usage

1
2
3
RSA3DLognormFromData(feretDiam, realSample, plot = FALSE,
  singleSample = FALSE, replicated = FALSE, lambdaRPP = 0, volume = 0,
  color = "violet", mu = -1, sigma = -1, maxIter = 10)

Arguments

feretDiam

A numeric vector. Sample feret diameters

realSample

A dataframe. Spatial coordinates (X,Y,Z) of the synapses

plot

A boolean value. If true, simulation is plotted before return

singleSample

A boolean value. If true, "Feret" colum from real sample is used insted of feretDiam

replicated

A boolean value. If true, number of points is computed as the volume * lambdaRPP

lambdaRPP

A numeric value. Simulation Intesity (synaptic density) parameter

volume

A numeric value. Simulation (cubic) volume.

color

Synapses plot color. Only applies if plot is True

mu

A numeric value. Log mean parameter for the Feret's diameter log-normal distribution

maxIter

An integer. Maximum number of trials before failure.

sdl

A numeric value. Log std parameter for the Feret's diameter log-normal distribution

Details

Create a RSA simulation replicating the given sample or using the parameters given.

Domain is always cubic. If volume is not provided, sample volume is used. Same applies to parameters. If replicated is true, number of points is calculated as the product of volume and lambdaRPP, if not, the simulation will have the same number of points as the sample.

Value

A named list: spp <- 3D spatial process, diam <- ferets diameters, ml,sdl <- feret's diams params


ComputationalIntelligenceGroup/3DSynapsesSA documentation built on May 6, 2019, 12:49 p.m.