griffithlab / GenVisR

Genome data visualizations
Creative Commons Zero v1.0 Universal
210 stars 62 forks source link

waterfall-when using sampOrder, some samples were not detected #382

Open jingjiai opened 2 years ago

jingjiai commented 2 years ago

Hello, I have 591 samples totally, and my code is following,

waterfall(data, fileType = 'Custom', clinDat=clinical, clinLegCol=4, plotGenes = c("TP53", "TERT promoter", "STAG2"), sampOrder=samp_order, plotSamples=samp_order, variant_class_order = levels(factor(data$variant_class)))

But there is an error like this, and there are only 311 samples were presented In waterfall_sampSort(data_frame, sampOrder) : The following samples were not detected in the original data: TCGA-CS-4941, TCGA-CS-5397, TCGA-CS-6188, TCGA-DU-5847, TCGA-DU-5854, TCGA-DU-6392, [... truncated]

I don't know how this error produced, I checked my samp_order and 591 samples were contained.

Thanks!