filterHighPNormals {infercnv} | R Documentation

## filterHighPNormals: Filter the HMM identified CNV's by the CNV's posterior probability of belonging to a normal state.

### Description

The following function will filter the HMM identified CNV's by the CNV's posterior probability of belonging to a normal state identified by the function inferCNVBayesNet(). Will filter CNV's based on a user desired threshold probability. Any CNV with a probability of being normal above the threshold will be removed.

### Usage

    filterHighPNormals(MCMC_inferCNV_obj, HMM_states, BayesMaxPNormal)

### Arguments

`MCMC_inferCNV_obj` | MCMC infernCNV object.
`HMM_states` | InferCNV object with HMM states in expression data.
`BayesMaxPNormal` | Option to filter CNV or cell lines by some probability threshold.

### Value

Returns a list of (MCMC_inferCNV_obj, HMM_states) With removed CNV's.

### Examples

    data(mcmc_obj)

    mcmc_obj_hmm_states_list <- infercnv::filterHighPNormals( MCMC_inferCNV_obj = mcmc_obj,
                                              HMM_states        = HMM_states,
                                              BayesMaxPNormal   = 0.5)

[Package infercnv version 1.0.4 Index]