Skip to content

Commit

Permalink
Update preprocess_object_for_CNV.R
Browse files Browse the repository at this point in the history
  • Loading branch information
emosca-cnr authored Jan 8, 2024
1 parent 949c8c6 commit e82d355
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/preprocess_object_for_CNV.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ preprocess_object_for_CNV <- function(genes_by_cells=NULL, gene_ann=NULL) {
gene_locations <- merge(gene_locations, temp, by=c("gene_id", "Chromosome"), sort=F)
gene_locations$pos <- apply(abs(gene_locations[, c("start_location", "end_location")]), 1, min)
gene_locations$gene_id <- gene_locations$start_location <- gene_locations$end_location <- NULL
gene_locations <- unique(gene_locations)
#gene_locations$end_location <- NULL
}

Expand Down

0 comments on commit e82d355

Please sign in to comment.