Closed AMCalejandro closed 1 year ago
Applying this change the transcripts get efficiently added to TRKS$Genes
> if(gene_track){
printer("++ PLOT:: Adding Gene model track.",v=verbose)
try({
TRKS[["Genes"]] <- PLOT.transcript_model_track(finemap_dat = finemap_dat,
show.legend = show.legend_genes,
xtext = xtext,
max_transcripts = max_transcripts,
expand_x_mult=NULL,
verbose=T)
})
}
[1] "++ PLOT:: Adding Gene model track."
max_transcripts=1.
8 transcripts from 8 genes returned.
Registered S3 method overwritten by 'GGally':
method from
+.gg ggplot2
Fetching data...OK
Parsing exons...OK
Defining introns...OK
Defining UTRs...OK
Defining CDS...OK
aggregating...
Done
Constructing graphics...
> TRKS
$`GWAS full window`
$motor_progression
$`Fine-mapping`
$Genes
Now fixed in both master
and echoverse
branches thanks to PR by @AMCalejandro !
In echoverse
, also added the ability to select >1 transcript/gene with max_transcripts
arg.
1. Bug description
sdplyr::lice_max() messes up the transcripts input even though you are grouping to work arounf previous issues you had. Fortunately this is essay to solve. I am opening a PR
Console output
2. Reproducible example
This is the input passed to dplyr::slice_max()
Data
3. Session info