{"id":26567990,"url":"https://github.com/sivkri/r-markdown-dataset-analysis","last_synced_at":"2026-07-03T04:32:45.566Z","repository":{"id":158183235,"uuid":"633873798","full_name":"sivkri/R-Markdown-Dataset-Analysis","owner":"sivkri","description":"R Markdown documentation template for two NGS datasets","archived":false,"fork":false,"pushed_at":"2023-06-09T10:47:04.000Z","size":4072,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T08:09:42.524Z","etag":null,"topics":["dataset","gitkraken","html","knitr-template","r","rma","rmarkdown-template"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sivkri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-28T13:32:53.000Z","updated_at":"2023-06-09T10:49:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"08e12930-409c-4bf4-a668-9452d409dad8","html_url":"https://github.com/sivkri/R-Markdown-Dataset-Analysis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sivkri/R-Markdown-Dataset-Analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivkri%2FR-Markdown-Dataset-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivkri%2FR-Markdown-Dataset-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivkri%2FR-Markdown-Dataset-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivkri%2FR-Markdown-Dataset-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sivkri","download_url":"https://codeload.github.com/sivkri/R-Markdown-Dataset-Analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivkri%2FR-Markdown-Dataset-Analysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35072443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dataset","gitkraken","html","knitr-template","r","rma","rmarkdown-template"],"created_at":"2025-03-22T19:29:28.454Z","updated_at":"2026-07-03T04:32:45.559Z","avatar_url":"https://github.com/sivkri.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# R Markdown Report Preparation of Two Datasets\n\nThis repository contains an R Markdown report that analyzes two datasets and generates visualizations and summaries based on the data. This R markdown notebook serve as a template to prepare output in the form of HTML of two different datasets\n\n## Project Details\n\nThe analysis focuses on a \"toy dataset\" that examines the impact of age, genotype, and cell type on the average gene expression in mice. The dataset includes 12 mice from two genotypes (KO and Wt) and two cell types (typeA and typeB).\n\n## Setup\n\n### Load Libraries\n\nTo run the report, you need to have the following libraries installed: `knitr` and `ggplot2`. These libraries are responsible for generating the visualizations and processing the data.\n\n### Load Data\n\nThe report requires two data files: `counts.rpkm.csv` and `mouse_exp_design.csv`. The former contains the normalized expression data, while the latter provides the metadata information. The code loads both data files into the R environment.\n\n### Modify the Metadata Data Frame\n\nThe original metadata file is modified to include additional information. The code calculates the average expression for each sample using the counts data and adds it to the metadata data frame. Additionally, the age of the mice (in days) is appended to the metadata table.\n\n## Analysis\n\nThe report includes two main analysis sections: \"Does average expression change with age of mouse?\" and \"Distribution of expression in the 2 genotypes.\" Each section contains visualizations generated using the `ggplot2` library.\n\n## Second Dataset Analysis\n\nThe report also includes an analysis of a second dataset. This section requires additional libraries: `tidyverse` and `pheatmap`. The code loads the necessary libraries and performs data cleaning and wrangling on the unstructured data to convert it into a structured format for analysis.\n\n## Conclusion\n\nThe R Markdown report provides an overview of the two datasets and performs various analyses, including visualizations and summaries. The report can be executed to generate an HTML output. If the intention is to generate a PDF output, additional prerequisites may be required, such as installing the \"tinytex\" package.\n\nPlease refer to the repository files for the complete R code and data files used in the report.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsivkri%2Fr-markdown-dataset-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsivkri%2Fr-markdown-dataset-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsivkri%2Fr-markdown-dataset-analysis/lists"}