Fastforest

extractSubsetFeaturesfromFile(fileName, featureList)[source]

This function takes a tab delimited file of features (columns) and samples (rows) as input and extracts a desired subset of features and their corresponding value for each sample.

USAGE:

extractSubsetFeaturesfromFile (fileName, featureList)

INPUTS:
  • fileName – name of the tab-delimited input file

  • featureList – list of features (must be overlapping with the feature names given in the first row of the file)

OUTPUT:
  • A file named `<fileName>_subset.txt` is written containing only the

  • requested subset; the data will be comma separated