Closed ArtPoon closed 1 year ago
maybe we should just start running Freya instead of having to chase sub-lineages all the time
@Abayomi-Olabode @GopiGugan - I've written an R script (unique-mutations.R
) that will process the JSON file generated by our Untitled project to:
Example for BA.5.2.1:
I'll copy my current JSON file to /data/wastewater
so you don't have to generate it yourself (but you just have to run Untitled retrieve.py
to do so)
Note the above plot is displaying the mean mutation frequencies, averaged across other lineages. If there is a handful of lineages that are fixed for the same mutation, it may still be shown as a low frequency.
This might be more useful:
max.freq <- apply(others, 2, function(x) row.names(others)[which.max(x)])
Thanks