Hi,
I'm learning basic data analysis with R, I'm using RStudio. I have my sequencing data in one file. It contains samples from 3 tissues from 100 individuals. I need to filter out variants within individuals, so that I can see variants unique for each tissue and common between two or all tissues.
My file is one dataset with 116 columns - after filtering variants I would like to keep all the columns. One of these columns is my individual ID (for 130 individuals) and there are separate columns with variants and tissue types.
So far, I understand that I need to create a loop that will filter within each individual by 1. sorting variants 2. apply filtering to variant presence in different tissues, so that in the end I would get: 1. 3 sets of variants unique for each tissue type, 2. 1 set of variants common to all tissue types, 3. 3 sets of variants common between 2 tissue types.
I've tried the VennDiagram package, but it sorts out variants that occur in any other individual in my dataset. I need to look into variants in a single individual.
Does anyone here know how to solve this??
Cheers,
A.
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
Latest Articles
Collapse
-
by seqadmin
The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...-
Channel: Articles
04-22-2024, 07:01 AM -
-
by seqadmin
Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...-
Channel: Articles
04-04-2024, 04:25 PM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Today, 11:49 AM
|
0 responses
11 views
0 likes
|
Last Post
by seqadmin
Today, 11:49 AM
|
||
Started by seqadmin, Yesterday, 08:47 AM
|
0 responses
16 views
0 likes
|
Last Post
by seqadmin
Yesterday, 08:47 AM
|
||
Started by seqadmin, 04-11-2024, 12:08 PM
|
0 responses
61 views
0 likes
|
Last Post
by seqadmin
04-11-2024, 12:08 PM
|
||
Started by seqadmin, 04-10-2024, 10:19 PM
|
0 responses
60 views
0 likes
|
Last Post
by seqadmin
04-10-2024, 10:19 PM
|