CLCfile: Prepare CLC output for filtering

Description Usage Arguments Details Author(s) Examples

View source: R/code.R

Description

CLCfile should be used to process CLC output prior downstream analysis with gDom and gRec.

Usage

1
CLCfile(x, y, multiple, split)

Arguments

x

the data frame to be processed.

y

the column name containing the grouping variable.

multiple

does one line contain >1 group? If true, specify split.

split

the split that separates the group in one line.

Details

This function is specifically designed to process the output from CLC genomics workbench. It should be used before the variant filters gDom and gRec are used to emphasize the grouping (e.g. gene, exon) to be used in downstream analysis. As often is the case, a variant might belong to >1 group (e.g. 2 genes). If so, the file is automatically reformatted to assure that each line contains only one variant per group, if multiple is TRUE and the split is specified. If multiple is FALSE, only the first part of the y-column is maintained.This function should not be used for nDom and nRec.

Author(s)

Bart Broeckx

Examples

1
2
CLCfile1proc <-CLCfile(CLCfile1, "Coding.region.change", TRUE, "; ")
CLCfile2proc <-CLCfile(CLCfile2, "Coding.region.change", TRUE, "; ")

BartBroeckx/Mendelian documentation built on May 5, 2019, 10:27 a.m.