gradient

package
v0.0.0-...-40008dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 11 Imported by: 0

README

Module name: bait-gradient

Takes an ordered bait list and expected localizations for the baits and outputs a gradient showing adjacent bait similarity: black if the two adjacent baits share an expected localization, grey if only one does and white otherwise.

parameters definition default
baitList list of baits in order of similarity
expectedLocalizations .txt file with bait name and expected localizations
outFile output file name bait-gradient.svg

Example file formats

baitList

HNRNPA1
RPS20
SERBP1
FBL
RPS6
RPL31	
expectedLocalizations
id	bait	localization
1	AARS2	mitochondrial matrix
2	ACBD5	peroxisome
3	ACTB	actin cytoskeleton
12	ANAPC2	"cytoplasm;nucleoplasm;nucleus"
13	ANK3	"cell junction;plasma membrane"
Output
  • svg gradient in same order as input bait list

Documentation

Overview

Package gradient draws a similarity gradient for baits.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw(fileOptions map[string]interface{})

Draw takes an ordered bait list and expected localizations for the baits and creates a gradient showing similarity between adjacent baits.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL