コード例 #1
0
 /// <summary>
 /// Gets the table file names.
 /// </summary>
 /// <returns>The table file names.</returns>
 /// <param name="tissue">Cell line.</param>
 public string[][] GetTableFileNames(string tissue)
 {
     return(RnaSources.Select(source =>
                              Thresholds.Select(threshold =>
                                                tissueTag.Replace(ThresholdTag.Replace(RnaSourceTag.Replace(
                                                                                           OutFileFormat,
                                                                                           source),
                                                                                       threshold),
                                                                  tissue)).ToArray()).ToArray());
 }
コード例 #2
0
 /// <summary>
 /// Gets the map file names for cell line and all rna sources
 /// </summary>
 /// <returns>The map file names.</returns>
 /// <param name="tissue">Cell line.</param>
 public string[][] GetMapFileNamesWithThreshold(string tissue)
 {
     return(RnaSources.Select(rnaSource =>
                              Thresholds.Select(threshhold =>
                                                TissueTag.Replace(
                                                    RnaSourceTag.Replace(
                                                        ThresholdTag.Replace(MapFileFormat, threshhold),
                                                        rnaSource),
                                                    tissue))
                              .ToArray())
            .ToArray());
 }