Package org.broad.igv.track

Examples of org.broad.igv.track.DataTrack$InViewInterval


    }

    private DataTrack updateTrackReference(DataTrack memberTrack, List<Track> allTracks){

        if(memberTrack.getName() == null && memberTrack.getResourceLocator() == null){
            DataTrack matchingTrack = (DataTrack) IGVSessionReader.getMatchingTrack(memberTrack.getId(), allTracks);
            if(matchingTrack == null) throw new IllegalStateException("Could not find track with ID " + memberTrack.getId());
            return matchingTrack;
        }else{
            return memberTrack;
        }
View Full Code Here


            return dataTrack.getId();
        }

        @Override
        public DataTrack unmarshal(String trackId) throws Exception {
            DataTrack dataTrack = (DataTrack) IGVSessionReader.getMatchingTrack(trackId, null);
            if(dataTrack == null){
                dataTrack = new DataSourceTrack(null, trackId, null, null);
            }
            return dataTrack;
        }
View Full Code Here

            for (NamedFeature locus : loci) {

                double regionScore;
                if (t instanceof DataTrack) {
                    DataTrack dataTrack = (DataTrack) t;
                    regionScore = dataTrack.getAverageScore(locus.getChr(), locus.getStart(), locus.getEnd(), zoom);
                    addToSampleData(sampleDataMap, sampleName, locus.getName(), t.getTrackType(), regionScore);
                }

                if(overlays != null) {
                    for (Track overlay : overlays) {
View Full Code Here

TOP

Related Classes of org.broad.igv.track.DataTrack$InViewInterval

Copyright © 2018 www.massapicom. 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.