Segments_filter: Select the segments in the "seg_table" with more than nSNP

Description Usage Arguments Value

View source: R/Segments_filter.R

Description

Select the segments in the "seg_table" with more than nSNP

Usage

1
Segments_filter(Obj_filtered = NULL, nSNP = 0, len = 5e+05, fvar = FALSE)

Arguments

Obj_filtered

An Alleloscope object with SNP info and raw segmentation table "seg_table".

nSNP

An integer of minimum number of SNPs for region selection.

len

Integer. Filter out segments with length < len.

fvar

Logical(TRUE/FALSE) Whether or not to filter out segments with variance >0.9 quantile.

Value

A Alleloscope object with "seg_table_filtered" added.


seasoncloud/Alleloscope documentation built on June 18, 2021, 7:24 p.m.