Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/importAndManage.R
This function takes a named list of AlignedRead
objects (from the ShortRead package) and creates an ExpData
object from them, with one column for each list element. Column names
are taken from list names, which must be unique.
1 2 3 4 |
x |
This argument can be one of two things: either a named list of
objects of class |
chrMap |
A vector of chromosome names from the aligned output. On
importation to the database, chromosome names will be converted to
integers corresponding to position within the |
dbFilename |
The filename of the database to which the data will be imported. |
tablename |
Name of database table to write output data to. |
overwrite |
Logical indicating whether database table referred to in |
deleteIntermediates |
Logical indicating whether intermediate database tables constructed in the process should be removed. |
readPosition |
How each read is assigned a unique genomic location. Default is
|
verbose |
Logical indicating whether details should be printed. |
... |
Additional arguments to be passed to |
The reads are aggregated and joined to form a database where each
file/list element is a column. Positions are stored as the position
of the 5' end of the reads (note that this differs from the convention
for the AlignedRead
class from ShortRead.) This can be
changed by the readPosition
argument.
If the x
argument is a character vector of filenames, the
function will require enough memory to parse each input file in turn.
If there are duplicates in names of x
the function requires
enough memory to parse all files with the same column name at the same
time.
If the AlignedRead
class object has a weights
column in
its alignData
slot, this weights
column is used as the
data to aggregate over.
Outputs an object of class ExpData
with a column for each
element of the x
argument.
James Bullard bullard@berkeley.edu, Kasper Daniel Hansen khansen@jhsph.edu
See Genominator
vignette for more information.
See also ExpData-class
,
AlignedRead-class
and readAligned
.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.