getLUS_lengthReps: getLUS

getLUS_lengthRepsR Documentation

getLUS

Description

Helper function that adds LUS variable and isLUS (NB! isLUS is the equivalent to MotifType, see manuscript section 2.6.3)

Usage

getLUS_lengthReps(df)

Arguments

df

Data frame with the most frequent stutters (n-1, n-2, n+1, n+2 and n0) obtained with selectStutters()

Details

LUS variable is the number of repeats of the longest uninterrupted stretch. isLUS/MotifType is a binary var for the type of parental uninterrupted stretch (LUS and non-LUS output)

Value

Updated data frame with variables LUS and isLUS(MotiType)

Author(s)

Maria Martin Agudo <maagud.at.ous-hf.no>


Mariamsp/brackconv documentation built on March 17, 2022, 5:14 p.m.