View source: R/inferCNV_BayesNet.R
| filterHighPNormals | R Documentation | 
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.
filterHighPNormals(MCMC_inferCNV_obj, HMM_states, BayesMaxPNormal, useRaster)
| 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. | 
| useRaster | Option to use rasterization when plotting | 
Returns a list of (MCMC_inferCNV_obj, HMM_states) With removed CNV's.
data(mcmc_obj)
mcmc_obj_hmm_states_list <- infercnv::filterHighPNormals( MCMC_inferCNV_obj = mcmc_obj, 
                                          HMM_states        = HMM_states, 
                                          BayesMaxPNormal   = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.