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

View source: R/Segments_filter.R

Segments_filterR Documentation

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

Description

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

Usage

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 March 17, 2023, 1:14 a.m.