erhard-lab / grandR

R package for nucleotide conversion sequencing data analysis
Other
9 stars 2 forks source link

problems with check.analysis #1

Closed teresa-rummel closed 2 years ago

teresa-rummel commented 2 years ago

check.analysis(data, analysis) returns FALSE when a substring of a analysis channel is used as analysis input

e.g in vignette PlotScatter(sars,type="kinetics","Mock.Half-life","SARS.Half-life",log=T)+geom_abline() ...calls GetTable(data, type = type) at [processing.R#127]() ...calls check.analysis(sars,'kinetics') FALSE -> Analyses(sars) would be: ("kinetics.Mock" "kinetics.SARS") ... Fehler in GetTable(data, type = type) : Type count is neither a mode.slot nor an analysis name!

florianerhard commented 2 years ago

type for GetTable (becomes patterns in GetAnnotationTable) can now be a regex (makes much more sense) Fixed in 07c2389