GenomicSelection: Genomic data selection

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ranges.R

Description

Convenience constructor of a RangedSelection object for selecting a data on a per-chromosome basis for a given genome.

Usage

1

Arguments

genome

A string identifying a genome. Should match the end of a BSgenome package name, e.g. "hg19".

chrom

Character vector naming chromosomes to select.

colnames

The column names to select from the dataset.

Value

A RangedSelection object, selecting entire chromosomes

Author(s)

Michael Lawrence

See Also

RangedSelection, BigWigSelection

Examples

1
2
3
4
# every chromosome from hg19
GenomicSelection("hg19")
# chr1 and 2 from hg19, with a score column
GenomicSelection("hg19", c("chr1", "chr2"), "score")

rtracklayer documentation built on Nov. 8, 2020, 6:50 p.m.