parser.add_argument(
'-u', dest='unitary', default=False, action='store_const', const=True,
help='use unitary eigenvalues for factor loading')
+ parser.add_argument(
+ '-d', dest='drop', type=int, action='append',
+ help='drop a column from the analysis')
parser.add_argument(
'path',
help='path to the tab-delimited data file to analyze')
args = parser.parse_args()
scores = _numpy.genfromtxt(fname=args.path, delimiter='\t')
+ if args.drop:
+ scores = _numpy.delete(scores, args.drop, axis=1)
analyze(scores=scores, output_dim=args.output_dim, unitary=args.unitary)