Package ru.autosome.commons.converter.di

Source Code of ru.autosome.commons.converter.di.PCM2PWM

package ru.autosome.commons.converter.di;

import ru.autosome.commons.backgroundModel.di.DiBackgroundModel;
import ru.autosome.commons.backgroundModel.di.DiWordwiseBackground;
import ru.autosome.commons.motifModel.di.DiPCM;
import ru.autosome.commons.motifModel.di.DiPWM;

public class PCM2PWM extends ru.autosome.commons.converter.generalized.PCM2PWM<DiPCM, DiPWM, DiBackgroundModel>{

  public PCM2PWM(DiBackgroundModel background, double pseudocount) {
    super(background);
  }

  public PCM2PWM(DiBackgroundModel background) {
    super(background);
  }

  public PCM2PWM(double pseudocount) {
    super(pseudocount);
  }

  public PCM2PWM() {
    super();
  }

  protected DiBackgroundModel defaultBackground() {
    return new DiWordwiseBackground();
  }

  @Override
  protected DiPWM createMotif(double[][] matrix, String name) {
    return new DiPWM(matrix, name);
  }
}
TOP

Related Classes of ru.autosome.commons.converter.di.PCM2PWM

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.