createTargetingModel
creates a 5-mer TargetingModel
.
createTargetingModel(db, model = c("RS", "S"), sequenceColumn = "SEQUENCE_IMGT", germlineColumn = "GERMLINE_IMGT_D_MASK", vCallColumn = "V_CALL", multipleMutation = c("independent", "ignore"), minNumMutations = 50, minNumSeqMutations = 500, modelName = "", modelDescription = "", modelSpecies = "", modelCitation = "", modelDate = NULL)
"independent"
then multiple
mutations within the same 5-mer are counted indepedently.
If "ignore"
then 5-mers with multiple mutations are
excluded from the otal mutation tally.NULL
the current date
will be used.# Subset example data to one isotype and sample as a demo
data(ExampleDb, package="alakazam")
db <- subset(ExampleDb, ISOTYPE == "IgA" & SAMPLE == "-1h")
# Create model using only silent mutations and ignore multiple mutations
model <- createTargetingModel(db, model="S", multipleMutation="ignore")
Run the code above in your browser using DataLab