morinlab / GAMBLR.results

A collection of functions to access results of the Genomic Analysis of Mature B-cell Lymphomas
MIT License
0 stars 0 forks source link

estimate_purity is broken when only sample_id is provided #27

Open Kdreval opened 8 months ago

Kdreval commented 8 months ago

It looks like some updates have broken how estimate_purity would obtain the MAF data for a sample. This should be fixed so we can use the augment_ssm output with the auto-removal of variants with low read support.

pure=estimate_purity(sample_id="12-17272_tumorB") fetching: slms-3 using flatfile: /projects/nhl_meta_analysis_scratch/gambl/results_local/gambl/battenberg_current/99-outputs/seg/genome--grch37/12-17272_tumorB--12-17272_normal_subclones.igv.seg Rows: 45 Columns: 6 ── Column specification ──────────────────────────────────────────────────────────────────────────────────────── Delimiter: "\t" chr (2): ID, chrom dbl (4): start, end, LOH_flag, log.ratio

ℹ Use spec() to retrieve the full column specification for this data. ℹ Specify the column types or set show_col_types = FALSE to quiet this message. Error in UseMethod("filter") : no applicable method for 'filter' applied to an object of class "NULL"

Kdreval commented 8 months ago

Another issue with this function is:

More details and issues here

Kdreval commented 8 months ago

This is a migration of issue #100 from the parent repo