morinlab / GAMBLR

Set of standardized functions to operate with genomic data
https://morinlab.github.io/GAMBLR/
MIT License
3 stars 2 forks source link

collate_igblast_results function #138

Open mannycruz opened 1 year ago

mannycruz commented 1 year ago

Pull Request Checklists

Important: When opening a pull request, keep only the applicable checklist and delete all other sections.

Checklist for all PRs

Required

`

sample_table <- read_tsv("/projects/nhl_meta_analysis_scratch/gambl/results_local/shared/gambl_genome_results.tsv") sample_table <- collate_igblast_results(sample_table = sample_table) [1] "Searching for MiXCR results in directory:/projects/nhl_meta_analysis_scratch/gambl/results_local/gambl/mixcr-1.2/01-mixcr/genome/" [1] "Removing empty entries"
[1] "Removing rows that exceed missing threshold" [1] "Joining tables" Joining, by = "biopsy_id" `

  • [x] I ensured all dplyr functions that commonly conflict with other packages are fully qualified.

This can be checked and addressed by running check_functions.pl and responding to the prompts. Test your code after you do this.

Optional but preferred with PRs

Checklist for New Functions

Required

Example:

#' Use GISTIC2.0 scores output to reproduce maftools::chromoplot with more flexibility
#'
#' @param scores output file scores.gistic from the run of GISTIC2.0
#' @param genes_to_label optional. Provide a data frame of genes to label (if mutated). The first 3 columns must contain chromosome, start, and end coordinates. Another required column must contain gene names and be named `gene`. (truncated for example)
#' @param cutoff optional. Used to determine which regions to color as aberrant. Must be float in the range [0-1]. (truncated for example)

Example:

#' @return nothing
#' @export
#' @import tidyverse ggrepel

Checklist for changes to existing code

Kdreval commented 1 year ago

@mannycruz is this ready to go or is it still in development?

mannycruz commented 1 year ago

@Kdreval Ready to go!