def parseNoise(rawArray):
nnGenes=[] <EOL>for i in range(<NUM_LIT:0>,(rawArray.shape[<NUM_LIT:1>])): <EOL><INDENT>count0=np.asarray(np.where(rawArray[:,i]==<NUM_LIT:0>))<EOL>count1=np.asarray(np.where(rawArray[:,i]==<NUM_LIT:1>))<EOL>if ((count1.shape[<NUM_LIT:1>]+count0.shape[<NUM_LIT:1>])<rawArray.shape[<NUM_LIT:0>]):<EOL><INDENT>nnGenes=np.append(nnGenes,i)<EOL><DEDENT><DEDENT>return nnGenes.astype(int)<EOL>
Function returns indices that contain non-noisy genes as an integer array
:param rawArray: numpy ndarray of data set
:return nnGenes : numpy ndarray of non-noise gene indices