Object
~~|
~~+--FullNameInterface
~~~~~~~|
~~~~~~~+--GenericDataFile
~~~~~~~~~~~~|
~~~~~~~~~~~~+--ColumnNamesInterface
~~~~~~~~~~~~~~~~~|
~~~~~~~~~~~~~~~~~+--GenericTabularFile
~~~~~~~~~~~~~~~~~~~~~~|
~~~~~~~~~~~~~~~~~~~~~~+--TabularTextFile
~~~~~~~~~~~~~~~~~~~~~~~~~~~|
~~~~~~~~~~~~~~~~~~~~~~~~~~~+--CacheKeyInterface
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+--FileCacheKeyInterface
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+--AromaGenomeTextFile
Directly known subclasses: AromaUcscGenomeTextFile
public abstract static class AromaGenomeTextFile extends FileCacheKeyInterface
An AromaGenomeTextFile represents a annotation tabular text file that specifies the number of bases (nucleotides) per chromosome for a particular genome/organism.
AromaGenomeTextFile(...)TabularTextFile. byGenome |
|
| - | |
readDataFrame |
- |
The filename of an AromaGenomeTextFile should have format
"
# Locate a Human,chromosomes(,.*)*.txt file
db <- AromaGenomeTextFile$byGenome("Human")
print(db)
# Read the data
df <- readDataFrame(db)
print(df)
str(df)
# Details on the file format
oopts <- options(width=40)
print(readLines(db))
options(oopts)
Run the code above in your browser using DataLab