Skip to content

Commit

Permalink
Site updated: 2023-09-17 11:03:47
Browse files Browse the repository at this point in the history
  • Loading branch information
LiangShaw committed Sep 17, 2023
1 parent 1220286 commit 916602f
Show file tree
Hide file tree
Showing 135 changed files with 9,218 additions and 9,136 deletions.
6 changes: 3 additions & 3 deletions 2021/12/30/GSEA_instruction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -877,13 +877,13 @@ <h3 id="Loading-Data"><a href="#Loading-Data" class="headerlink" title="Loading
<div class="article-badge left-badge text-color">
<i class="fas fa-chevron-left"></i>&nbsp;上一篇</div>
<div class="card">
<a href="/2022/01/02/RDataVisualization-1/">
<a href="/2022/01/02/RDataVisualization-2/">
<div class="card-image">


<img src="/medias/featureimages/18.jpg" class="responsive-img" alt="R数据可视化手册-">
<img src="/medias/featureimages/17.jpg" class="responsive-img" alt="R数据可视化手册-">

<span class="card-title">R数据可视化手册-</span>
<span class="card-title">R数据可视化手册-</span>
</div>
</a>
<div class="card-content article-content">
Expand Down
52 changes: 30 additions & 22 deletions 2022/01/02/RDataVisualization-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3252,31 +3252,31 @@ <h1 id="画图实践经验谈"><a href="#画图实践经验谈" class="headerlin
<div class="article-badge left-badge text-color">
<i class="fas fa-chevron-left"></i>&nbsp;上一篇</div>
<div class="card">
<a href="/2022/01/02/RDataVisualization-2/">
<a href="/2022/01/10/RDataSci/">
<div class="card-image">


<img src="/medias/featureimages/17.jpg" class="responsive-img" alt="R数据可视化手册-下">
<img src="/medias/featureimages/28.jpg" class="responsive-img" alt="R数据科学系列">

<span class="card-title">R数据可视化手册-下</span>
<span class="card-title">R数据科学系列</span>
</div>
</a>
<div class="card-content article-content">
<div class="summary block-with-text">

博主最开始正式学习 R 语言的时候,是出于数据可视化的目的,以 Oreilly 的《R数据可视化手册》 为 handbook,将此书的 90% 内容在 jupyter 中都复现了一遍。jupyter 原始文件可到我的 Github 相应仓库中获取。由于内容较多,分为了上下两部分
能够在 R 中得心应手得处理数据、改造数据,会大大提高工作效率

</div>
<div class="publish-info">
<span class="publish-date">
<i class="far fa-clock fa-fw icon-date"></i>2022-01-02
<i class="far fa-clock fa-fw icon-date"></i>2022-01-10
</span>
<span class="publish-author">

<i class="fas fa-bookmark fa-fw icon-category"></i>

<a href="/categories/R%E6%95%B0%E6%8D%AE%E5%8F%AF%E8%A7%86%E5%8C%96%E6%89%8B%E5%86%8C/" class="post-category">
R数据可视化手册
<a href="/categories/R-for-data-science/" class="post-category">
R for data science
</a>


Expand All @@ -3290,12 +3290,8 @@ <h1 id="画图实践经验谈"><a href="#画图实践经验谈" class="headerlin
<span class="chip bg-color">R</span>
</a>

<a href="/tags/ggplot2/">
<span class="chip bg-color">ggplot2</span>
</a>

<a href="/tags/handbook/">
<span class="chip bg-color">handbook</span>
<a href="/tags/data-science/">
<span class="chip bg-color">data science</span>
</a>

</div>
Expand All @@ -3309,38 +3305,50 @@ <h1 id="画图实践经验谈"><a href="#画图实践经验谈" class="headerlin
下一篇&nbsp;<i class="fas fa-chevron-right"></i>
</div>
<div class="card">
<a href="/2021/12/30/GSEA_instruction/">
<a href="/2022/01/02/RDataVisualization-2/">
<div class="card-image">


<img src="/medias/featureimages/24.jpg" class="responsive-img" alt="GSEA富集分析笔记">
<img src="/medias/featureimages/17.jpg" class="responsive-img" alt="R数据可视化手册-下">

<span class="card-title">GSEA富集分析笔记</span>
<span class="card-title">R数据可视化手册-下</span>
</div>
</a>
<div class="card-content article-content">
<div class="summary block-with-text">


博主最开始正式学习 R 语言的时候,是出于数据可视化的目的,以 Oreilly 的《R数据可视化手册》 为 handbook,将此书的 90% 内容在 jupyter 中都复现了一遍。jupyter 原始文件可到我的 Github 相应仓库中获取。由于内容较多,分为了上下两部分。

</div>
<div class="publish-info">
<span class="publish-date">
<i class="far fa-clock fa-fw icon-date"></i>2021-12-30
<i class="far fa-clock fa-fw icon-date"></i>2022-01-02
</span>
<span class="publish-author">

<i class="fas fa-user fa-fw"></i>
梁绍波
<i class="fas fa-bookmark fa-fw icon-category"></i>

<a href="/categories/R%E6%95%B0%E6%8D%AE%E5%8F%AF%E8%A7%86%E5%8C%96%E6%89%8B%E5%86%8C/" class="post-category">
R数据可视化手册
</a>


</span>
</div>
</div>

<div class="card-action article-tags">

<a href="/tags/GSEA/">
<span class="chip bg-color">GSEA</span>
<a href="/tags/R/">
<span class="chip bg-color">R</span>
</a>

<a href="/tags/ggplot2/">
<span class="chip bg-color">ggplot2</span>
</a>

<a href="/tags/handbook/">
<span class="chip bg-color">handbook</span>
</a>

</div>
Expand Down
52 changes: 22 additions & 30 deletions 2022/01/02/RDataVisualization-2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4016,31 +4016,31 @@ <h2 id="参数解释"><a href="#参数解释" class="headerlink" title="参数
<div class="article-badge left-badge text-color">
<i class="fas fa-chevron-left"></i>&nbsp;上一篇</div>
<div class="card">
<a href="/2022/01/10/RDataSci/">
<a href="/2022/01/02/RDataVisualization-1/">
<div class="card-image">


<img src="/medias/featureimages/28.jpg" class="responsive-img" alt="R数据科学系列">
<img src="/medias/featureimages/18.jpg" class="responsive-img" alt="R数据可视化手册-上">

<span class="card-title">R数据科学系列</span>
<span class="card-title">R数据可视化手册-上</span>
</div>
</a>
<div class="card-content article-content">
<div class="summary block-with-text">

能够在 R 中得心应手得处理数据、改造数据,会大大提高工作效率
博主最开始正式学习 R 语言的时候,是出于数据可视化的目的,以 Oreilly 的《R数据可视化手册》 为 handbook,将此书的 90% 内容在 jupyter 中都复现了一遍。jupyter 原始文件可到我的 Github 相应仓库中获取。由于内容较多,分为了上下两部分

</div>
<div class="publish-info">
<span class="publish-date">
<i class="far fa-clock fa-fw icon-date"></i>2022-01-10
<i class="far fa-clock fa-fw icon-date"></i>2022-01-02
</span>
<span class="publish-author">

<i class="fas fa-bookmark fa-fw icon-category"></i>

<a href="/categories/R-for-data-science/" class="post-category">
R for data science
<a href="/categories/R%E6%95%B0%E6%8D%AE%E5%8F%AF%E8%A7%86%E5%8C%96%E6%89%8B%E5%86%8C/" class="post-category">
R数据可视化手册
</a>


Expand All @@ -4054,8 +4054,12 @@ <h2 id="参数解释"><a href="#参数解释" class="headerlink" title="参数
<span class="chip bg-color">R</span>
</a>

<a href="/tags/data-science/">
<span class="chip bg-color">data science</span>
<a href="/tags/ggplot2/">
<span class="chip bg-color">ggplot2</span>
</a>

<a href="/tags/handbook/">
<span class="chip bg-color">handbook</span>
</a>

</div>
Expand All @@ -4069,50 +4073,38 @@ <h2 id="参数解释"><a href="#参数解释" class="headerlink" title="参数
下一篇&nbsp;<i class="fas fa-chevron-right"></i>
</div>
<div class="card">
<a href="/2022/01/02/RDataVisualization-1/">
<a href="/2021/12/30/GSEA_instruction/">
<div class="card-image">


<img src="/medias/featureimages/18.jpg" class="responsive-img" alt="R数据可视化手册-上">
<img src="/medias/featureimages/24.jpg" class="responsive-img" alt="GSEA富集分析笔记">

<span class="card-title">R数据可视化手册-上</span>
<span class="card-title">GSEA富集分析笔记</span>
</div>
</a>
<div class="card-content article-content">
<div class="summary block-with-text">

博主最开始正式学习 R 语言的时候,是出于数据可视化的目的,以 Oreilly 的《R数据可视化手册》 为 handbook,将此书的 90% 内容在 jupyter 中都复现了一遍。jupyter 原始文件可到我的 Github 相应仓库中获取。由于内容较多,分为了上下两部分。


</div>
<div class="publish-info">
<span class="publish-date">
<i class="far fa-clock fa-fw icon-date"></i>2022-01-02
<i class="far fa-clock fa-fw icon-date"></i>2021-12-30
</span>
<span class="publish-author">

<i class="fas fa-bookmark fa-fw icon-category"></i>

<a href="/categories/R%E6%95%B0%E6%8D%AE%E5%8F%AF%E8%A7%86%E5%8C%96%E6%89%8B%E5%86%8C/" class="post-category">
R数据可视化手册
</a>

<i class="fas fa-user fa-fw"></i>
梁绍波

</span>
</div>
</div>

<div class="card-action article-tags">

<a href="/tags/R/">
<span class="chip bg-color">R</span>
</a>

<a href="/tags/ggplot2/">
<span class="chip bg-color">ggplot2</span>
</a>

<a href="/tags/handbook/">
<span class="chip bg-color">handbook</span>
<a href="/tags/GSEA/">
<span class="chip bg-color">GSEA</span>
</a>

</div>
Expand Down
6 changes: 3 additions & 3 deletions 2022/01/10/RDataSci/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -883,13 +883,13 @@ <h1 id="持续学习中…"><a href="#持续学习中…" class="headerlink" tit
下一篇&nbsp;<i class="fas fa-chevron-right"></i>
</div>
<div class="card">
<a href="/2022/01/02/RDataVisualization-2/">
<a href="/2022/01/02/RDataVisualization-1/">
<div class="card-image">


<img src="/medias/featureimages/17.jpg" class="responsive-img" alt="R数据可视化手册-">
<img src="/medias/featureimages/18.jpg" class="responsive-img" alt="R数据可视化手册-">

<span class="card-title">R数据可视化手册-</span>
<span class="card-title">R数据可视化手册-</span>
</div>
</a>
<div class="card-content article-content">
Expand Down
18 changes: 12 additions & 6 deletions 2022/09/29/linux-common-cmd-Rmd/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ <h1 class="description center-align post-title">linux其他常用命令</h1>

<div class="post-date info-break-policy">
<i class="far fa-calendar-check fa-fw"></i>更新日期:&nbsp;&nbsp;
2023-04-03
2023-09-09
</div>


Expand Down Expand Up @@ -447,12 +447,18 @@ <h2 id="sed"><a href="#sed" class="headerlink" title="sed"></a>sed</h2><pre clas
<h3 id="替换字符串"><a href="#替换字符串" class="headerlink" title="替换字符串"></a>替换字符串</h3><h4 id="example1-fasta-DNA-gt-RNA"><a href="#example1-fasta-DNA-gt-RNA" class="headerlink" title="example1 fasta DNA > RNA"></a>example1 fasta DNA &gt; RNA</h4><pre class="line-numbers language-bash" data-language="bash"><code class="language-bash"><span class="token function">sed</span> <span class="token string">'s/原字符串/目标字符串/g'</span> <span class="token function">file</span><span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre>
<h4 id="批量替换多文本中的字符串"><a href="#批量替换多文本中的字符串" class="headerlink" title="批量替换多文本中的字符串"></a>批量替换多文本中的字符串</h4><pre class="line-numbers language-bash" data-language="bash"><code class="language-bash"><span class="token function">sed</span> -i <span class="token string">"s/原字符串/目标字符串/g"</span> <span class="token variable"><span class="token variable">`</span><span class="token function">grep</span> 原字符串 -rl 需要批量替换的文件或文件夹目录<span class="token variable">`</span></span><span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre>

<h1 id="windows-到-linux,行后缀的处理"><a href="#windows-到-linux,行后缀的处理" class="headerlink" title="windows 到 linux,行后缀的处理"></a>windows 到 linux,行后缀的处理</h1><p>将在 Windows 下创建的文本文件传输到 Linux 上时,要注意二者行后缀不同 (windows <code>\n\r</code>, linux <code>\n</code>)。<br>忽略这一点,往往会导致一些后续操作出现莫名其妙的问题。<br>通过 <code>vim</code> 文件可以看到每行后会有 <code>^M</code><br>搜罗了以下几种方法: </p>
<h1 id="windows-到-linux,行后缀的处理"><a href="#windows-到-linux,行后缀的处理" class="headerlink" title="windows 到 linux,行后缀的处理"></a>windows 到 linux,行后缀的处理</h1><p>将在 Windows 下创建的文本文件传输到 Linux 上时,要注意二者行后缀不同 (windows <code>\n\r</code>, linux <code>\n</code>)。<br>忽略这一点,往往会导致一些后续操作出现莫名其妙的问题。<br>通过 <code>vim -b </code> 或者 <code>cat -A</code> 文件可以看到每行后会有 <code>^M</code><br>搜罗了以下几种方法: </p>
<ul>
<li><p>tr : </p>
<pre class="line-numbers language-bash" data-language="bash"><code class="language-bash"><span class="token function">tr</span> -d <span class="token string">'\r'</span> <span class="token comment">## 删除 \r</span><span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre></li>
<li><p>sed</p>
<pre class="line-numbers language-bash" data-language="bash"><code class="language-bash"><span class="token function">sed</span> <span class="token string">'s/^M$//g'</span> filename <span class="token operator">&gt;</span> tmp_filename<span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre>
<p><strong>使用sed 工具:需要注意打^M时应输入Ctrl+v+m,长按Ctrl依次点击v和m键,而不是数字6上的^符号。</strong><br><a target="_blank" rel="noopener" href="https://www.omicsclass.com/article/1727">reference</a></p>
</li>
<li><p>dos2unix (if installed)</p>
</li>
<li><p>vim</p>
<ul>
<li>tr : <pre class="line-numbers language-bash" data-language="bash"><code class="language-bash"><span class="token function">tr</span> -d <span class="token string">'\r'</span> <span class="token comment">## 删除 \r</span><span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre></li>
<li>sed<pre class="line-numbers language-bash" data-language="bash"><code class="language-bash"><span class="token function">sed</span> <span class="token string">'s/^M$//'</span> filename <span class="token operator">&gt;</span> tmp_filename<span aria-hidden="true" class="line-numbers-rows"><span></span></span></code></pre></li>
<li>dos2unix (if installed)</li>
<li>vim<ul>
<li>行数不多,直接删除<code>^M</code></li>
<li>命令模式下输入 <code>:set fileformat=unix</code></li>
</ul>
Expand Down
8 changes: 6 additions & 2 deletions 2023/04/06/Bio-seq-method-collections/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,12 @@ <h1 id="DNA"><a href="#DNA" class="headerlink" title="DNA"></a>DNA</h1><h1 id="R
</span>
<span class="publish-author">

<i class="fas fa-user fa-fw"></i>
梁绍波
<i class="fas fa-bookmark fa-fw icon-category"></i>

<a href="/categories/bioinformatics/" class="post-category">
bioinformatics
</a>


</span>
</div>
Expand Down
Loading

0 comments on commit 916602f

Please sign in to comment.