commonvar: Combining the output of several filters.

Description Usage Arguments Details Author(s) Examples

View source: R/code.R

Description

commonvar should be used to combine the output of nDom/nRec and gDom/gRec filters.

Usage

1

Arguments

x

the data frames to be filtered (> 1).

group

the column names of the columns containing the functional units.

Details

This function allows the combination of nDom/nRec and gDom/gRec output. It retains all functional units in common, whithout assumptions on zygosity (as this should already have been taken care of in the previous filtering steps). Within each functional unit, the variants present in each x object are retained. Detectance can be specified and will be used on the functional group instead of the individual variant.

Author(s)

Bart Broeckx

Examples

1
2
3
4
5
6
7
8
9
output <- nRec("CLCfile1", "CLCfile2"  )
output
CLCfile1proc <-CLCfile(CLCfile1, "Coding.region.change", TRUE, "; ")
CLCfile2proc <-CLCfile(CLCfile2, "Coding.region.change", TRUE, "; ")
output2 <- gDom("CLCfile1proc", "CLCfile2proc")
#Annotoutput2 <- annot(output,genBED, type="BED", nomatch=FALSE, CLC=TRUE)
#x <- c("output2", "Annotoutput2")
#group <- c("Group", "annotation")
#a <-commonvar(x,group)

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