.readAnnotation | R Documentation |
read annotation data for windows
This is an unexported lowlevel function to read annotations from a file.
The file MUST be tab separated and MUST have the following columns:
chromosome: chromosome name
unique_id: unique id of the window
begin: window start co-ordinate
end: window end co-ordinate
strand: strand
gene_id: gene id
gene_name: gene name
gene_type: gene type annotation
gene_region: gene region
Nr_of_region: number of the current region
Total_nr_of_region: total number of regions
window_number: window number
.readAnnotation(
fname,
uniqIds = NULL,
asGRange = TRUE,
checkWindowNumber = TRUE,
start0based = TRUE,
threads = 10
)
fname |
|
uniqIds |
|
asGRange |
|
checkWindowNumber |
|
start0based |
|
threads |
|
data.frame or GRanges object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.