pciSeq
export_to_pciseq(nb)
This saves .csv files containing plotting information for pciseq-
- y - y coordinate of each spot in stitched coordinate system.
- x - x coordinate of each spot in stitched coordinate system.
- z_stack - z coordinate of each spot in stitched coordinate system (in units of z-pixels).
- Gene - Name of gene each spot was assigned to.
Only spots which pass quality_threshold
are saved.
This depends on parameters given in config['thresholds']
.
One .csv file is saved for each method: omp and ref_spots if the notebook contains both pages. Also adds the thresholds page to the notebook and re-saves. This is so the thresholds section in the config file cannot be further changed.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
nb |
Notebook
|
Notebook for the experiment containing at least the ref_spots page. |
required |
Source code in coppafish/utils/pciseq.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
|
get_thresholds_page(nb)
Makes notebook page from thresholds section of config file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
nb |
Notebook
|
Notebook containing all experiment information. |
required |
Returns:
Type | Description |
---|---|
NotebookPage
|
thresholds NotebookPage. |
Source code in coppafish/utils/pciseq.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|