calcBaseline fails when calcStats=T
Issue #50
resolved
dbPath <- system.file("extdata", "InfluenzaDb.gz", package="shm")
db <- readChangeoDb(dbPath)
db_baseline <- calcBaseline(db,
sequenceColumn="SEQUENCE_IMGT",
germlineColumn="GERMLINE_IMGT_D_MASK",
testStatistic="focused",
regionDefinition=IMGT_V_NO_CDR3,
targetingModel = HS5FModel,
nproc = 1,
calcStats = T)
Warning message:
In rbind_all(x, .id) : Unequal factor levels: coercing to character
Comments (5)
-
-
reporter - changed status to resolved
Fixed issue 50, binding rows with different factor levels
→ <<cset 206389fee3c9>>
-
reporter Fixed issue 50, binding rows with different factor levels
→ <<cset 206389fee3c9>>
-
reporter Fixed issue 50, binding rows with different factor levels
→ <<cset 206389fee3c9>>
-
reporter Fixed issue 50, binding rows with different factor levels
→ <<cset 206389fee3c9>>
- Log in to comment
Probably just needs preemptive
as.character()
on the offending column.