FraserDataSet {FRASER} | R Documentation |
Constructs an FRASER object based on the given input. It can take only the annotation (colData) or count tables (junctions/spliceSites).
FraserDataSet(colData = NULL, junctions = NULL, spliceSites = NULL, ...)
colData |
A DataFrame containing the annotation of the samples |
junctions, spliceSites |
A data.frame like object containing the
raw counts for each junction or splice site.
It requires the columns |
... |
Any parameters corresponding to the slots and their possible values. See FraserDataSet |
A FraserDataSet object.
Christian Mertes mertes@in.tum.de
fraser <- FraserDataSet() # example sample annoation sampleTable <- fread(system.file("extdata", "sampleTable_countTable.tsv", package="FRASER", mustWork=TRUE)) # get raw counts junctionCts <- fread(system.file("extdata", "raw_junction_counts.tsv.gz", package="FRASER", mustWork=TRUE)) spliceSiteCts <- fread(system.file("extdata", "raw_site_counts.tsv.gz", package="FRASER", mustWork=TRUE)) # create FRASER object fds <- FraserDataSet(colData=sampleTable, junctions=junctionCts, spliceSites=spliceSiteCts, name="Example Dataset")