intersect: support function of prepareDataset

Description Usage Arguments Value Author(s) Examples

View source: R/prepare_dataset.R

Description

intersects a factor file and an annotation file

Usage

1
intersect(fact, anno, ...)

Arguments

fact

Full path of the directory containing only the bed (.bed) files corresponding to several cell lines of the specified factor.

anno

Full path of the annotation file (e.g. gene, TSS, exon etc.)

...

additional arguments received from "prepareDataset()" and suppliet to "R_bedtools_intersect()"

Value

A list containing the intersections of the files (paths of which are supplied throgh the arguments).

Author(s)

Subhadeep Das

Examples

1
2
3
4
5
6
7
8
9
anno <- system.file("extdata/annotation2/TSS_groups.bed",
package = "OMICsPCAdata")

fact <- system.file("extdata/factors2/demofactor",
package = "OMICsPCAdata")

Cells <- intersect(fact = fact, anno = anno)

Cells

subhadeep1024/OMICsPCA documentation built on March 17, 2020, 5:23 p.m.