public void TestFeatureMapGeneration() { Console.WriteLine("Testing Working"); var methodName = MethodBase.GetCurrentMethod().Name; TestUtils.ShowStarting(methodName); const string testFile = @"\\protoapps\UserData\Jungkap\Joshua\FeatureMap\QC_Shew_Intact_26Sep14_Bane_C2Column3.ms1ft"; const string outputFile = @"\\protoapps\UserData\Jungkap\Joshua\"; var map = new LcMsFeatureMap(testFile,185); map.SaveImage(outputFile + "test.png",100); }
private void CreateFeatureMapImage(LcMsRun run, string featuresFilePath, string imgFilePath) { var map = new LcMsFeatureMap(run, featuresFilePath, Math.Max(0, Parameters.MinSearchMass - 500), Parameters.MaxSearchMass); map.SaveImage(imgFilePath); Console.WriteLine(@" - Feature map image output: {0}", imgFilePath); }
public void TestFeatureMapGeneration() { Console.WriteLine("Testing Working"); var methodName = MethodBase.GetCurrentMethod().Name; TestUtils.ShowStarting(methodName); const string rawFile = @"\\protoapps\UserData\Jungkap\Joshua\testData\QC_Shew_Intact_26Sep14_Bane_C2Column3.pbf"; const string testFile = @"\\protoapps\UserData\Jungkap\Joshua\FeatureMap\QC_Shew_Intact_26Sep14_Bane_C2Column3.ms1ft"; const string outputFile = @"D:\MassSpecFiles\training\raw\"; var map = new LcMsFeatureMap(PbfLcMsRun.GetLcMsRun(rawFile), testFile, 2000, 50000); map.SaveImage(outputFile + "test.png"); }