Learn R Programming

sigminer (version 1.2.5)

get_tidy_parameter: Get Tidy Parameter from Flexmix Model

Description

When users derive copy number features, it is useful to know the parameters of the fit components, including mean, sd and coefficient of variation. This function is used by sig_tally function and exported to users for extra usage.

Usage

get_tidy_parameter(x)

Arguments

x

a flexmix object or a list of flexmix objects.

Value

a tibble.

Examples

Run this code
# NOT RUN {
load(system.file("extdata", "toy_copynumber_tally_M.RData",
  package = "sigminer", mustWork = TRUE
))
# Get all parameters
d1 <- get_tidy_parameter(cn_tally_M$components)
d1
# Get parameters for segsize feature
d2 <- get_tidy_parameter(cn_tally_M$components$segsize)
d2
# }

Run the code above in your browser using DataLab