View source: R/bambu-processReads_scoreReadClasses.R
trainBambu | R Documentation |
This function train a model for use on other data
trainBambu(
rcFile = NULL,
min.readCount = 2,
nrounds = 50,
NDR.threshold = 0.1,
verbose = TRUE
)
rcFile |
summerized experiment object with read classes/ranges produced from bambu(quant = FALSE, discovery = FALSE) or rcOutdir |
min.readCount |
the minimum number of reads a read class is required to be have to be used for training |
nrounds |
xgboost hyperparameter - the number of decision trees in the final mode |
NDR.threshold |
the effective NDR threshold that bambu will try and match on other samples when using this model |
verbose |
if additional messages should be output Output - A list containing 6 objects which is passed directly into bambu(opt.discovery=list(defaultModels=trainBambu())) transcriptModelME - the model for multi-exon transcripts transcriptModelSE - the model for single-exon transcripts txScoreBaseline - the txScore used for NDR calibration for multi-exon transcripts txScoreBaselineSE - [DEPRECATED] the txScore used for NDR calibration for single-exon transcripts lmNDR = lmNDR - the linear model of the reletionship between txScore and NDR used to calculate the baseline for multi-exon transcripts lmNDR.SE = lmNDR.SE - the linear model of the reletionship between txScore and NDR used to calculate the baseline for single-exon transcripts NDR.threshold - the NDR threshold usd to calculate the txScoreBaseline on the lmNDR (baselineFDR) |
Function to train a model for use on other data
It returns a model object to use in bambu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.