From a5382ff6efb27a2478b96603775c758192b47ad9 Mon Sep 17 00:00:00 2001 From: ScheidTo Date: Mon, 13 May 2024 11:21:15 +0200 Subject: [PATCH] modified axis labelling --- docs/rnaseq_normalization.ipynb | 48 +++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 14 deletions(-) diff --git a/docs/rnaseq_normalization.ipynb b/docs/rnaseq_normalization.ipynb index 45a4abdc..e532399f 100644 --- a/docs/rnaseq_normalization.ipynb +++ b/docs/rnaseq_normalization.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": { "dotnet_interactive": { "language": "fsharp" @@ -78,7 +78,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "metadata": { "dotnet_interactive": { "language": "fsharp" @@ -103,7 +103,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 4, "metadata": { "dotnet_interactive": { "language": "fsharp" @@ -140,7 +140,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "metadata": { "dotnet_interactive": { "language": "fsharp" @@ -169,7 +169,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 27, "metadata": { "dotnet_interactive": { "language": "fsharp" @@ -185,14 +185,14 @@ { "data": { "text/html": [ - "
" ] @@ -239,13 +239,17 @@ " tpmData\n", " |> Seq.map (fun tpmData -> tpmData.GeneID)\n", " let chartlist= [ Chart.Column(values = rawDataLength, Keys = rawDataKeys, Name = \"Gene Length\") |> Chart.withYAxisStyle(MinMax = (0., 1800.))\n", + " |> Chart.withXAxisStyle(TitleText = \"gene ID\") |> Chart.withYAxisStyle(TitleText = \"gene Length\", TitleStandoff = 2)\n", " Chart.Column(values = rawDataCounts, Keys = rawDataKeys, Name = \"raw data counts\") |> Chart.withYAxisStyle(MinMax = (0.,200.))\n", - " Chart.Column(values = rpkmDataCounts, Keys = rpkmDataKeys, Name = \"RPKM\") |> Chart.withXAxisStyle(TitleText = \"gene ID\") |> Chart.withYAxisStyle(MinMax = (0.,260000.))\n", + " |> Chart.withXAxisStyle(TitleText = \"gene ID\") |> Chart.withYAxisStyle(TitleText = \"Read Counts\", TitleStandoff = 2)\n", + " Chart.Column(values = rpkmDataCounts, Keys = rpkmDataKeys, Name = \"RPKM\") |> Chart.withXAxisStyle(TitleText = \"gene ID\") \n", + " |> Chart.withYAxisStyle(MinMax = (0.,260000.)) |> Chart.withYAxisStyle(TitleText = \"Read Counts\", TitleStandoff = 2)\n", " Chart.Column(values = tpmDataCounts, Keys = tpmDataKeys, Name = \"TPM\") |> Chart.withYAxisStyle(MinMax = (0.,260000.))\n", + " |> Chart.withXAxisStyle(TitleText = \"gene ID\") |> Chart.withYAxisStyle(TitleText = \"Read Counts\", TitleStandoff = 2)\n", " ]\n", " chartlist\n", - "dataChart |> Chart.Grid(nRows = 1, nCols = 4)\n", - "|> Chart.withYAxisStyle \"Read Counts\"" + "dataChart |> Chart.Grid(nRows = 1, nCols = 4, XGap = 0.35)\n", + "|> Chart.withSize (1000)" ] }, { @@ -264,8 +268,24 @@ } ], "metadata": { + "kernelspec": { + "display_name": ".NET (C#)", + "language": "C#", + "name": ".net-csharp" + }, "language_info": { "name": "csharp" + }, + "polyglot_notebook": { + "kernelInfo": { + "defaultKernelName": "csharp", + "items": [ + { + "aliases": [], + "name": "csharp" + } + ] + } } }, "nbformat": 4,