Add sample cell filename, cell sample size, and sample plate size to metadata

This commit is contained in:
eugenefischer
2022-09-30 02:58:15 -05:00
parent b8aeeb988f
commit 593dd6c60f
5 changed files with 35 additions and 10 deletions

View File

@@ -9,7 +9,9 @@ import java.util.Map;
//Custom vertex class means a lot of the map data can now be encoded in the graph itself
public class GraphWithMapData implements java.io.Serializable {
private String sourceFilename;
private String cellFilename;
private int cellSampleSize;
private String plateFilename;
private final SimpleWeightedGraph graph;
private final int numWells;
private final Integer[] wellPopulations;
@@ -112,12 +114,20 @@ public class GraphWithMapData implements java.io.Serializable {
return time;
}
public void setSourceFilename(String filename) {
this.sourceFilename = filename;
public void setCellFilename(String filename) { this.cellFilename = filename; }
public String getCellFilename() { return this.cellFilename; }
public Integer getCellSampleSize() { return this.cellSampleSize; }
public void setCellSampleSize(int size) { this.cellSampleSize = size;}
public void setPlateFilename(String filename) {
this.plateFilename = filename;
}
public String getSourceFilename() {
return sourceFilename;
public String getPlateFilename() {
return plateFilename;
}
public Double getReadErrorRate() {