auxAddCNcolumn: auxAddCNcolumn

View source: R/utils.R

auxAddCNcolumnR Documentation

auxAddCNcolumn

Description

Adds a 'cn' column to the cnvs.gr data.frame or GRanges.

Usage

auxAddCNcolumn(cnvs.gr)

Arguments

cnvs.gr

data.frame or GRanges containing the column 'cnv' with "deletion" or "duplication" as values

Details

For each row, cn column is filled with 1 if cnv is "deletion", 3 if cnv is "duplication"

Value

input cnvs.gr with the new column 'cn'


jpuntomarcos/CNVfilteR documentation built on Oct. 6, 2023, 12:37 a.m.