Skip to content

submit_Xiyuan_Guan#1

Open
xyguan15 wants to merge 4 commits into
qtran4:mainfrom
xyguan15:main
Open

submit_Xiyuan_Guan#1
xyguan15 wants to merge 4 commits into
qtran4:mainfrom
xyguan15:main

Conversation

@xyguan15
Copy link
Copy Markdown

@xyguan15 xyguan15 commented Dec 6, 2022

No description provided.

Comment thread supportingFunctions.R
write.csv(csvf, file = csvname, row.names = F)
}
}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+2

Comment thread supportingFunctions.R
}
return(cFile) # return the complied data of the directory
}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+2

Comment thread supportingFunctions.R
# the age distribution of patients
print("the age distribution of patients is:")
print(summary(sub.pat$age))
# ????? 423 yrs old patient
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also plot the age distribution

Comment thread supportingFunctions.R
print(summary(sub.pat$age))
# ????? 423 yrs old patient
return(sub.pat) # return the subset of patients
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+2

Comment thread analysis.R
sub.pat <- sumdata(file) # this step takes time
# the summary of the age distribution of patients is shown in console.
write.csv(sub.pat,"subset_of_patients.csv",row.names = F) # for better load

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+2

Comment thread analysis.R
# A1: According to plot_1 and plot_2, the disease started to break in country X before the 120th day of the year,
# which is the start day of screening. However, the disease started to break in country y on around the 139th day
# of the year, so the disease outbreak likely begin in country X.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+4

Comment thread analysis.R
# shown to form the immunological response by the patients, so indicates differences in the
# protein in the disease. So the vaccine developed by Country Y may work on the strain that
# has marker04-10 as the response to disease-causing agents, and may not work on the strain
# in Country X with marker01-05 as the response. No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+4

Comment thread analysis.R
# shown to form the immunological response by the patients, so indicates differences in the
# protein in the disease. So the vaccine developed by Country Y may work on the strain that
# has marker04-10 as the response to disease-causing agents, and may not work on the strain
# in Country X with marker01-05 as the response. No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good commenting and efficient code that uses coding concepts that we covered in class – 4 points

Copy link
Copy Markdown
Owner

@qtran4 qtran4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Good job!

@qtran4
Copy link
Copy Markdown
Owner

qtran4 commented Dec 16, 2022

Hi, just want to confirm that you worked in the project alone, just in case I don't miss anyone

@xyguan15
Copy link
Copy Markdown
Author

xyguan15 commented Dec 16, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants