Skip to content

Commit

Permalink
as character sample from vcf
Browse files Browse the repository at this point in the history
  • Loading branch information
vyepez88 committed Jul 28, 2022
1 parent b98e59e commit f1684b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drop/modules/mae-pipeline/QC/create_matrix_dna_rna_cor.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ N <- length(vcf_files)
lp <- bplapply(1:N, function(i){

# Read sample vcf file
sample <- wes_samples[i]
sample <- wes_samples[i] %>% as.character()
param <- ScanVcfParam(fixed=NA, info='NT', geno='GT', samples=sample, trimEmpty=TRUE)
vcf_sample <- readVcf(vcf_files[i], param = param, row.names = FALSE)
# Get GRanges and add Genotype
Expand Down

0 comments on commit f1684b6

Please sign in to comment.