Skip to content

Commit

Permalink
Update the NAMESPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
statwangz committed Sep 15, 2023
1 parent 93238a7 commit 3e01510
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 7 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export(updateMFAIR)
exportClasses(MFAIR)
exportClasses(MFAIRSingleFactor)
exportMethods(predict)
import(Matrix)
importFrom(dplyr,left_join)
importFrom(methods,new)
importFrom(rpart,rpart)
Expand Down
10 changes: 9 additions & 1 deletion R/mfairObject.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#' Each MFAIR object has a number of slots which store information. Key slots to access are listed below.
#' Define the matrixORdgCMatrix class as the union of matrix and Matrix::dgCMatrix
#'
#' @import Matrix
#'
setClassUnion(
name = "matrixORdgCMatrix",
members = c("matrix", "dgCMatrix")
)

#' Each MFAIR object has a number of slots which store information. Key slots to access are listed below.
#'
#' @slot Y A matrix or Matrix::dgCMatrix. The main data matrix of N samples and M features.
#' @slot X A data.frame. The auxiliary information data frame of N samples and C covariates.
Expand Down
4 changes: 0 additions & 4 deletions R/mfairUtils.R

This file was deleted.

4 changes: 3 additions & 1 deletion man/MFAIR-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/createMFAIR.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions man/matrixORdgCMatrix-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3e01510

Please sign in to comment.