MakeProfile.sn_nomemory: MakeProfile.sn_nomemory

View source: R/Functions.R

MakeProfile.sn_nomemoryR Documentation

MakeProfile.sn_nomemory

Description

Perform segmentation on a given dataset and returns the segmented profile

Usage

MakeProfile.sn_nomemory(DF, Kmax, method = "biggest.S3IB", sd.y = NULL)

Arguments

DF

a data.frame with two columns, Fst and Weights, as provided by the HudsonFst.m function

Kmax

max number of changes used for model selection (check with crops)

method

a string, the name of the criterion used for model selection: (1) "givenVariance" = using the penalty of Lebarbier 2005 given a estimator of the variance, (2) "biggest.S3IB" = biggest=TRUE in saut taken from S3IB, (3) "notbiggest.S3IB" To be chosen amongs3ib.jump, s3ib.nojump, pre, ddse (capushe) or jump (capushe)

sd.y

a numeric value corresponding to the (estimated) standard deviation of the signal. If NULL (default) the value is automatically estimated.

Value

a smoothed profile


fst4pg documentation built on July 4, 2022, 1:06 a.m.