Converts a list of factors into 'pagoda2' metadata optionally filtering down to the cells present in the provided 'pagoda2' app.
factorListToMetadata(factor.list, p2 = NULL)
list of factors named by the cell identifier
'pagoda2' app to filter the factors by, optional (default=NULL)
'pagoda2' web metadata object