Skip to content

Commit

Permalink
import S4vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
wolski committed Nov 30, 2021
1 parent 2ac4c0a commit c8745e7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ Imports:
readxl,
rlang,
stringr,
S4Vectors,
tidyverse,
tidyr,
tibble,
Expand All @@ -69,6 +68,7 @@ Suggests:
pROC,
plyr,
rmarkdown,
S4Vectors,
testthat,
prolfquaData,
SummarizedExperiment,
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ import(ggplot2)
import(tidyverse)
importFrom(GGally,ggpairs)
importFrom(MASS,rlm)
importFrom(S4Vectors,SimpleList)
importFrom(conflicted,conflict_prefer)
importFrom(dplyr,all_of)
importFrom(dplyr,anti_join)
Expand Down
1 change: 0 additions & 1 deletion R/A_dataset_docu.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#' @importFrom stats na.omit p.adjust pbeta power.t.test prcomp predict pt qt quantile sd setNames sigma terms update vcov
#' @importFrom stringr str_trim
#' @import tidyverse
#' @importFrom S4Vectors SimpleList
#' @importFrom utils combn data head read.csv tail unzip
#' @importFrom yaml write_yaml
NULL
Expand Down
2 changes: 1 addition & 1 deletion R/LFQData.R
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ LFQDataToSummarizedExperiment <- function(lfqdata){
wide <- lfqdata$to_wide(as.matrix = TRUE)
ann <- data.frame(wide$annotation)
rownames(ann) <- wide$annotation$sampleName
se <- SummarizedExperiment::SummarizedExperiment(SimpleList(LFQ = wide$data), colData = ann)
se <- SummarizedExperiment::SummarizedExperiment(S4Vectors::SimpleList(LFQ = wide$data), colData = ann)
return(se)
}
}

0 comments on commit c8745e7

Please sign in to comment.