filterHighPNormals: filterHighPNormals: Filter the HMM identified CNV's by the...

Description Usage Arguments Value Examples

View source: R/inferCNV_BayesNet.R

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

1
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

1
2
3
4
5
data(mcmc_obj)

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

infercnv documentation built on Nov. 8, 2020, 11:10 p.m.