Description Usage Arguments Details Value Examples
View source: R/get.feature.names.R
Returns feature names and additional attributes for a given region
1 | get.feature.names(object, gff.file, chr)
|
object |
An object of class GENOME |
gff.file |
The corresponding GFF file |
chr |
The chromosome/scaffold identifier |
The algorithm uses the information stored in GENOME.class.split@region.names
to iterate
over the GFF file and returns attribute plus feature informations for each given region.
Note, the functions splitting.data, split_data_into_GFF_attributes or sliding.window.transform
should be performed prior to that.
The slot region.names
must have the following form: "pos1 - pos2".
The returned value is a character vector of length length(GENOME.class.split@region.names)
1 2 3 4 5 6 7 8 | # GENOME.class <- readVCF("chr1.vcf.gz",1000,"1",1,100000)
# GENOME.class.split <- split_data_into_GFF_attributes(GENOME.class,"Homo_sapiens.GRCh37.73.gtf",
# "1", "gene_name")
# GENOME.class.split@region.names
# info <- get.feature.names(GENOME.class.split, gff.file="Homo_sapiens.GRCh37.73.gtf", chr="1")
# GENOME.class.split <- splitting.data(GENOME.class, subsites="gene")
# GENOME.class.split@region.names
# info <- get.feature.names(GENOME.class.split, gff.file="Homo_sapiens.GRCh37.73.gtf", chr="1")
|
Loading required package: ff
Loading required package: bit
Attaching package: ‘bit’
The following object is masked from ‘package:base’:
xor
Attaching package ff
- getOption("fftempdir")=="/work/tmp/tmp/RtmpfTf4nR/ff"
- getOption("ffextension")=="ff"
- getOption("ffdrop")==TRUE
- getOption("fffinonexit")==TRUE
- getOption("ffpagesize")==65536
- getOption("ffcaching")=="mmnoflush" -- consider "ffeachflush" if your system stalls on large writes
- getOption("ffbatchbytes")==16777216 -- consider a different value for tuning your system
- getOption("ffmaxbytes")==536870912 -- consider a different value for tuning your system
Attaching package: ‘ff’
The following objects are masked from ‘package:utils’:
write.csv, write.csv2
The following objects are masked from ‘package:base’:
is.factor, is.ordered
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.