analyzeFeatures(sample_info, which = NULL, features = NULL, predict = is.null(features), alpha = 2, psi = 0, beta = 0.2, gamma = 0.2, min_junction_count = NULL, min_anchor = 1, min_n_sample = 1, min_overhang = NA, annotation = NULL, max_complexity = 20, verbose = FALSE, cores = 1)
getBamInfo
.GRanges
of genomic regions to be considered for
feature prediction, passed to ScanBamParam
TxFeatures
or SGFeatures
objectalpha
is ignored.processTerminalExons
). Use NULL
to disable processing
(disabling processing is useful if results are subsequently merged
with other predictions and processing is postponed until after the
merging step).TxFeatures
object used for annotationNA
.TRUE
, generate messages indicating progressSGFeatureCounts
object
predictTxFeatures
.Known features can be provided as TxFeatures
or
SGFeatures
via argument features
.
If features
is not NULL
and predict
is
TRUE
, known features are augmented with predictions.
Known and/or predicted transcript features are converted to splice
graph features. For details, see convertToSGFeatures
.
Optionally, splice graph features can be annotated with respect to
a TxFeatures
object provided via argument annotation
.
For details, see the help page for function annotate
.
Finally, compatible fragment counts for splice graph features are
obtained from BAM files with getSGFeatureCounts
.
path <- system.file("extdata", package = "SGSeq")
si$file_bam <- file.path(path, "bams", si$file_bam)
sgfc <- analyzeFeatures(si, gr)
Run the code above in your browser using DataLab