aad054eb71ec975dc62cc94e4a2f030ed2de75e9 kuhn Mon Jun 24 13:35:39 2019 -0700 changed three instances of the word LIEK where it should have been SUCH AS or something else. LIKE is used when something is similar, but not identical. When you are giving an example of something it is not LIKE it, it =IS= it. Use some other construct diff --git src/hg/htdocs/goldenPath/help/barChart.html src/hg/htdocs/goldenPath/help/barChart.html index 20566c0..3b5e385 100755 --- src/hg/htdocs/goldenPath/help/barChart.html +++ src/hg/htdocs/goldenPath/help/barChart.html @@ -169,31 +169,31 @@ in that the order of names in the barChartBars field should exactly match the order of values from the expScores field in the bigBarChart file.
In this example, you will use the helper scripts expMatrixToBarchartBed and bedJoinTabOffset on example matrix and category files in order to generate a bed6+5 barChart format file, which can be loaded as a custom track into the Genome Browser.
The matrix file is a tab-separated (must be tabs, not spaces) file of the following form, perhaps resulting from an RNA-Seq analysis pipeline. Please note that the first line must describe each -column like in the example snippet below. +column as in the example snippet below.
transcript sample1 sample2 sample3 sample4 sample5 ... transcriptName value1 value2 value3 value4 value5 ...
The categories file then provides more meta information about this matrix file. It is a two column, tab-separated file that maps the samples in the matrix file to a specific category:
sample1 category1 sample2 category1 ... ... sampleA category2 sampleB category2 @@ -204,31 +204,31 @@
Each column in the first line of the matrix file must be found in the categories file.
We have provided an example category file and matrix file to follow along with the rest of this example.
To create a custom track in this form, follow the below steps:
chr14 95086227 95158010 ENSG00000100697.10 999 - DICER1
will be one
of three input files to the helper script expMatrixToBarchartBed. For an example file to
follow along with the rest of this example, you can download an example bed6+1 file
here.
export PATH=$PATH:$HOME/Downloads
@@ -257,31 +257,31 @@
bedJoinTabOffset matrixFile exampleBed6+3 outBed
track type=barChart name="barChart Example" description="A barChart file" barChartBars="adiposeSubcut breastMamTissue colonTransverse muscleSkeletal wholeBlood" barChartMetric=median" visibility=pack
expMatrixToBarchartBed automatically computes the median values for all the samples in -the matrix file, which is useful when your experiment contains data from 8000 samples (like +the matrix file, which is useful when your experiment contains data from 8000 samples (such as the GTEx data). Furthermore, expMatrixToBarchartBed can compute the mean value of all samples in a category of the matrix file (instead of the default median), in addition to allowing for a specific ordering of the expScores field. NOTE: Set the barChartMetric setting to 'mean' if you use this option of expMatrixToBarchartBed. For more information about expMatrixToBarchartBed or bedJoinTabOffset, run the program with no arguments to get a usage message.
In this example, you will use the bed6+5 file created in Example 3 to create a bigBarChart file, allowing the data to be remotely accessed and exist within a track hub. The track settings for bigBarChart on a hub can be viewed here.