Skip to content

RunSegmentation multipcf doesn't respect gamma parameter #94

@seedgeorge

Description

@seedgeorge

Hi there,
While attempting to optimise the segmentation and clustering of my samples, I observed that tuning the 'gamma' parameter in RunSegmentation doesn't change anything - and from the code it doesn't seem to be connected up. It should be a simple fix in the call to multipcf, along these lines...

mpcf <- copynumber::multipcf(smooth_multipcf,
gamma = gamma,
arms = vapply(regmatches(ref_chrarm$chrarm,
regexec("[pq]", ref_chrarm$chrarm)), FUN = "[", 1,
FUN.VALUE = character(1))
)

Related: in the function knnSmooth, perhaps being able to pass parameters to the internal segmentation call would be worthwhile?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions