Skip to content

Commit

Permalink
Merge branch 'master' into vcf2
Browse files Browse the repository at this point in the history
  • Loading branch information
grst authored Mar 7, 2024
2 parents 9aa2a50 + 980e27b commit 6c55cf7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Authors@R:
Description: This package provides convenience functions for reading real-world evidence data provided by Personalis into Bioconductor MultiAssayExperiment objects.
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.0
RoxygenNote: 7.3.1
Depends:
SummarizedExperiment,
readxl,
Expand Down
6 changes: 0 additions & 6 deletions R/personalis.R
Original file line number Diff line number Diff line change
Expand Up @@ -483,12 +483,6 @@ read_personalis_cnv_reports <- function(sample_paths) {
all_cnv <- bind_rows(map(cnv_list, "cnv_report"))
row_data <- all_cnv |>
select(cnv_id, `Gene Symbol`, `Chromosome`, `Segment Start`, `Segment End`) |>
col_data <- bind_rows(map(cnv_list, "summary_stats")) |>
tibble::column_to_rownames("sample")

all_cnv <- bind_rows(map(cnv_list, "cnv_report"))
row_data <- all_cnv |>
select(cnv_id, `Gene Symbol`, `Sequence`, `Segment Start`, `Segment End`) |>
distinct()
stopifnot("cnv_id is not a unique identifier" = !any(duplicated(row_data$cnv_id)))

Expand Down

0 comments on commit 6c55cf7

Please sign in to comment.