You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve conflicts across 4 files by taking the devel_pre_v4 refactor
(isoreParameters -> opt.discovery/rcAssignmentParameters, demultiplexed
-> extractBarcodeUMI; removed sampleNames/cleanReads/barcodesToFilter
handling) and porting the applicable JG TODO review comments. Drop the
stale setIsoreParameters Pass-2 header and comments that referred to
code devel_pre_v4 deleted.
Also fix a pre-existing brace mismatch in checkInputs() introduced by
2047190 that prevented the package from parsing.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
#' @description This function train a model for use on other data
917
917
#' @param extendedAnnotations A GRangesList object produced from bambu(quant = FALSE) or rowRanges(se)
918
918
#' @param NDR The maximum NDR for novel transcripts to be in extendedAnnotations (0-1). If not provided a recommended NDR is calculated.
919
-
#' @param includeRef A boolean which if TRUE will also filter out reference annotations based on their NDR
920
919
#' @param prefix A string which determines which transcripts are considered novel by bambu and will be filtered (by default = 'Bambu')
921
920
#' @param baselineFDR a value between 0-1. Bambu uses this FDR on the trained model to recommend an equivilent NDR threshold to be used for the sample. By default, a baseline FDR of 0.1 is used. This does not impact the analysis if an NDR is set.
922
921
#' @param defaultModels a bambu trained model object that bambu will use when fitReadClassModel==FALSE or the data is not suitable for training, defaults to the pretrained model in the bambu package
923
922
#' Output - returns a similiar GRangesList object with entries swapped into or out of metadata(extendedAnnotations)$lowConfidenceTranscripts
924
923
#' @details
925
924
#' @return extendedAnnotations with a new NDR threshold
0 commit comments