dncR / MLSeq-archived

This repository is moved to archive. See "dncR/MLSeq" repository for current changes, issues and bug fixes.
5 stars 1 forks source link

Bioconductor vignette fails to create classtr #1

Closed drevansa closed 6 years ago

drevansa commented 6 years ago

https://github.com/dncR/MLSeq/blob/5cc25a184c2d82f6d81261178c976a86606af18f/vignettes/MLSeq.Rnw#L157

Hello,

I am attempting to work through the MLSeq Bioconductor vignette from: https://bioconductor.org/packages/release/bioc/vignettes/MLSeq/inst/doc/MLSeq.R But fail at the "classification models" section where:

classtr <- DataFrame(condition = class(-ind, ))

Generates: Error in class[-ind, ] : object of type 'builtin' is not subsettable

Any assistance you can offer would be greatly appreciated.

drevansa commented 6 years ago

This issue resolved by installing e1071: Misc Functions of the Department of Statistics, Probability Theory Group https://cran.r-project.org/web/packages/e1071/index.html

install.packages('e1071', dependencies=TRUE)

Which is required by the caret package.